]> granicus.if.org Git - pdns/commitdiff
initialize cur_op_request correctly
authorMark Zealey <mark@markandruth.co.uk>
Mon, 6 Jan 2014 10:49:29 +0000 (12:49 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 6 Jan 2014 10:54:24 +0000 (11:54 +0100)
pdns/ueberbackend.cc

index 8fdebc89e7fd0ad125a0b4b5d6a81285d0079ef5..e5f94573978b19f8b13ca5544db5b485d886e074 100644 (file)
@@ -361,6 +361,7 @@ UeberBackend::UeberBackend(const string &pname)
   pthread_mutex_lock(&instances_lock);
   instances.push_back(this); // report to the static list of ourself
   pthread_mutex_unlock(&instances_lock);
+  cur_op_request = NONE;
 
   d_cache_ttl = ::arg().asNum("query-cache-ttl");
   d_negcache_ttl = ::arg().asNum("negquery-cache-ttl");