BIND 10 trac2155_2, updated. 566ab87733df04e288749e8ab5fb7c1a2c1156cf [2155] remove surrounding block

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 25 12:10:34 UTC 2012


The branch, trac2155_2 has been updated
       via  566ab87733df04e288749e8ab5fb7c1a2c1156cf (commit)
      from  f687a6f097f17344cdf298e33b6592fd41fc8e43 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 566ab87733df04e288749e8ab5fb7c1a2c1156cf
Author: Yoshitaka Aharen <aharen at jprs.co.jp>
Date:   Thu Oct 25 21:08:16 2012 +0900

    [2155] remove surrounding block

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/auth_srv.cc |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index 8cc4a2d..c31f5d5 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -583,12 +583,10 @@ AuthSrv::processMessage(const IOMessage& io_message, Message& message,
     try {
         // statistics: check EDNS
         //     note: This can only be reliable after TSIG check succeeds.
-        {
-            ConstEDNSPtr edns = message.getEDNS();
-            if (edns != NULL) {
-                stats_attrs.setQueryEDNS(true, edns->getVersion() == 0);
-                stats_attrs.setQueryDO(edns->getDNSSECAwareness());
-            }
+        ConstEDNSPtr edns = message.getEDNS();
+        if (edns != NULL) {
+            stats_attrs.setQueryEDNS(true, edns->getVersion() == 0);
+            stats_attrs.setQueryDO(edns->getDNSSECAwareness());
         }
 
         // statistics: check OpCode



More information about the bind10-changes mailing list