From 28b8cb2096c3eb91d44dc3e055ecc7742d3e23f4 Mon Sep 17 00:00:00 2001 From: Mark Zealey Date: Mon, 6 Jan 2014 12:49:29 +0200 Subject: [PATCH] initialize cur_op_request correctly --- pdns/ueberbackend.cc | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.47.2