Commit 794dad15 authored by Pekka Pessi's avatar Pekka Pessi

nua_register.c: fixed C99ism.

darcs-hash:20070125161641-65a35-a4fb3b811e0b30eb2250d0b2e63ea65dd498e63c.gz
parent b38cc27b
...@@ -794,14 +794,16 @@ static int nua_register_client_response(nua_client_request_t *cr, ...@@ -794,14 +794,16 @@ static int nua_register_client_response(nua_client_request_t *cr,
ready = du && !cr->cr_terminated && status < 300; ready = du && !cr->cr_terminated && status < 300;
if (ready) { if (ready) {
msg_t *_reqmsg = nta_outgoing_getrequest(cr->cr_orq);
sip_t *req = sip_object(_reqmsg); msg_destroy(_reqmsg);
sip_time_t mindelta = 0; sip_time_t mindelta = 0;
sip_time_t now = sip_now(), delta, reqdelta, mdelta; sip_time_t now = sip_now(), delta, reqdelta, mdelta;
sip_contact_t const *m, *sent; sip_contact_t const *m, *sent;
msg_t *_reqmsg = nta_outgoing_getrequest(cr->cr_orq);
sip_t *req = sip_object(_reqmsg);
msg_destroy(_reqmsg);
assert(nr); assert(sip); assert(req); assert(nr); assert(sip); assert(req);
#if HAVE_SIGCOMP #if HAVE_SIGCOMP
......
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