Commit 2e916eb4 authored by Pekka Pessi's avatar Pekka Pessi

Fixed C99ism in nua_register.c

darcs-hash:20060411181426-65a35-b09ce61ae21bbfa59c2c29d8d6e7d93bd07a270c.gz
parent 56d851c9
......@@ -1449,9 +1449,11 @@ int outbound_connect_process_options(struct outbound_connect *usages,
nta_incoming_t *irq,
sip_t const *sip)
{
sip_call_id_t *i = sip->sip_call_id; assert(i);
sip_call_id_t *i = sip->sip_call_id;
struct outbound_connect *oc;
assert(i);
for (oc = usages; oc; oc = oc->oc_next) {
if (strcmp(i->i_id, oc->oc_cookie) == 0)
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment