Browse Source

oops, left in a temporary debugging change

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1137 e5f2f494-b856-4b98-b285-d166d9295462
Evan Hunt 15 years ago
parent
commit
dcf1ea7bd5
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/lib/auth/data_source.cc

+ 3 - 4
src/lib/auth/data_source.cc

@@ -354,10 +354,9 @@ DataSrc::doQuery(Query& q)
         // 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();