From: Aki Tuomi Date: Tue, 29 Sep 2015 19:09:24 +0000 (+0300) Subject: Initialize TCPReceiver#d_tid X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=117e1bf2b120c403fa0371361a42bff61ca1adb1;p=pdns Initialize TCPReceiver#d_tid fix cid#1030016 --- 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"]," ,");