Browse Source

it helps to actually initialize the condition var

git.mgm/mediaproxy-ng/2.1
Richard Fuchs 14 years ago
parent
commit
45945f6c7f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/control_udp.c

+ 1
- 0
daemon/control_udp.c View File

@ -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+" \


Loading…
Cancel
Save