Browse Source

the interface is modified, modify the part which using the old interface

hanfeng 14 years ago
parent
commit
324b135b99
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/datasrc/memory_datasrc.cc

+ 2 - 1
src/lib/datasrc/memory_datasrc.cc

@@ -192,7 +192,8 @@ struct MemoryZone::MemoryZoneImpl {
         // Get the node
         DomainNode* node(NULL);
         FindState state(options);
-        switch (domains_.find(name, &node, zonecutCallback, &state)) {
+        NodeChain<Domain> node_path;
+        switch (domains_.find(name, &node, node_path, zonecutCallback, &state)) {
             case DomainTree::PARTIALMATCH:
                 if (state.zonecut_node_ != NULL) {
                     return (FindResult(DELEGATION, state.rrset_));