Commit 5e1a3a2d authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: doublecheck invite client transaction

Ignore-this: 4236b668c99e6e0d72a7889ce6cdf671

Coverity issue.

darcs-hash:20090512165749-db55f-c2eef3c708f4195316c4e6b37eac5f022357b0af.gz
parent 8a231a15
......@@ -1885,8 +1885,8 @@ static int nua_prack_client_report(nua_client_request_t *cr,
}
if (acked &&
du->du_cr->cr_method == sip_method_invite &&
nua_client_is_queued(du->du_cr)) {
nua_client_is_queued(du->du_cr) &&
du->du_cr->cr_method == sip_method_invite) {
/* New INVITE was queued - do not send UPDATE */
}
else if (ss->ss_update_needed && 200 <= status && status < 300 &&
......
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