From 117e1bf2b120c403fa0371361a42bff61ca1adb1 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 22:09:24 +0300 Subject: [PATCH] Initialize TCPReceiver#d_tid fix cid#1030016 --- pdns/tcpreceiver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 213cfa0e5..3d95cf0e6 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -1119,7 +1119,7 @@ TCPNameserver::TCPNameserver() { // sem_init(&d_connectionroom_sem,0,::arg().asNum("max-tcp-connections")); d_connectionroom_sem = new Semaphore( ::arg().asNum( "max-tcp-connections" )); - + d_tid=0; s_timeout=10; vectorlocals; stringtok(locals,::arg()["local-address"]," ,"); -- 2.40.0