X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdns.c;h=bd6820fa6b24aa1b958581ed34d62b4a3d7d6ab1;hb=1df1a595017f4adfd159f7a923a721a2e83fd682;hp=ef627eb8115969a6dd079101ff3083b447d2a25a;hpb=a396da422740caf336a6d594515e8d80de6f440a;p=collectd.git diff --git a/src/dns.c b/src/dns.c index ef627eb8..bd6820fa 100644 --- a/src/dns.c +++ b/src/dns.c @@ -66,7 +66,7 @@ static counter_list_t *opcode_list; static counter_list_t *rcode_list; static pthread_t listen_thread; -static int listen_thread_init = 0; +static int listen_thread_init; /* The `traffic' mutex if for `tr_queries' and `tr_responses' */ static pthread_mutex_t traffic_mutex = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t qtype_mutex = PTHREAD_MUTEX_INITIALIZER;