Commit dfdfda2b authored by Pekka Pessi's avatar Pekka Pessi

nua_update_server_report(): fix bugs checking pending INVITEs in fake precondition handling

Ignore-this: dc67f6287bf48aa8e2a39e2ece96821

Coverity issue.

darcs-hash:20090513170415-db55f-4973367ae0d0f28cef9af7d191ebb493a3e9143e.gz
parent a6f62d8f
......@@ -3656,7 +3656,7 @@ int nua_update_server_report(nua_server_request_t *sr, tagi_t const *tags)
&& NH_PGET(nh, auto_alert)) {
nua_server_request_t *sri;
for (sri = nh->nh_ds->ds_sr; sri; sri = sr->sr_next)
for (sri = nh->nh_ds->ds_sr; sri; sri = sri->sr_next)
if (sri->sr_method == sip_method_invite &&
nua_server_request_is_pending(sri))
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