From: Mark Zealey Date: Mon, 6 Jan 2014 10:49:29 +0000 (+0200) Subject: initialize cur_op_request correctly X-Git-Tag: rec-3.6.0-rc1~267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1069%2Fhead;p=thirdparty%2Fpdns.git initialize cur_op_request correctly --- diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 8fdebc89e7..e5f9457397 100644 --- a/pdns/ueberbackend.cc +++ b/pdns/ueberbackend.cc @@ -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");