[svn] commit: r1137 - /trunk/src/lib/auth/data_source.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Mar 5 19:03:45 UTC 2010


Author: each
Date: Fri Mar  5 19:03:45 2010
New Revision: 1137

Log:
oops, left in a temporary debugging change

Modified:
    trunk/src/lib/auth/data_source.cc

Modified: trunk/src/lib/auth/data_source.cc
==============================================================================
--- trunk/src/lib/auth/data_source.cc (original)
+++ trunk/src/lib/auth/data_source.cc Fri Mar  5 19:03:45 2010
@@ -354,10 +354,9 @@
         // Find the closest enclosing zone for which we are authoritative,
         // and the concrete data source which is authoritative for it.
         // (Note that RRtype DS queries need to go to the parent.)
-        Name matchname(task->qtype == RRType::DS() ?
-                       task->qname.split(1, task->qname.getLabelCount() - 1) :
-                       task->qname);
-        NameMatch match(matchname);
+        NameMatch match(task->qtype == RRType::DS() ?
+                        task->qname.split(1, task->qname.getLabelCount() - 1) :
+                        task->qname);
         findClosestEnclosure(match);
         const DataSrc* datasource = match.bestDataSrc();
         const Name* zonename = match.closestName();




More information about the bind10-changes mailing list