Commit eb611888 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_session.c: check for soa_activate() return value

MeeGo Coverity issue CID#7492
parent 25f8195d
...@@ -2917,7 +2917,7 @@ int nua_prack_server_report(nua_server_request_t *sr, tagi_t const *tags) ...@@ -2917,7 +2917,7 @@ int nua_prack_server_report(nua_server_request_t *sr, tagi_t const *tags)
status, phrase, status, phrase,
ss->ss_state); ss->ss_state);
if (nh->nh_soa) { if (nh->nh_soa) {
soa_activate(nh->nh_soa, NULL); if (soa_activate(nh->nh_soa, NULL) >= 0)
ss->ss_sdp_version = soa_get_user_version(nh->nh_soa); ss->ss_sdp_version = soa_get_user_version(nh->nh_soa);
} }
} }
......
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