From 45945f6c7f2d90090ebc1e262950b501a5b8a4dd Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 2 Aug 2012 15:14:15 +0000 Subject: [PATCH] it helps to actually initialize the condition var --- daemon/control_udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/control_udp.c b/daemon/control_udp.c index 3e1a5b1b5..30c990df0 100644 --- a/daemon/control_udp.c +++ b/daemon/control_udp.c @@ -217,6 +217,7 @@ struct control_udp *control_udp_new(struct poller *p, struct in6_addr ip, u_int1 c->stale_chunks = g_string_chunk_new(4 * 1024); c->oven_time = poller_now(p); mutex_init(&c->lock); + cond_init(&c->cond); c->parse_re = pcre_compile( /* cookie cmd flags callid viabranch:5 */ "^(\\S+)\\s+(?:([ul])(\\S*)\\s+([^;]+)(?:;(\\S+))?\\s+" \