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,8 +2917,8 @@ int nua_prack_server_report(nua_server_request_t *sr, tagi_t const *tags)
status, phrase,
if (nh->nh_soa) {
soa_activate(nh->nh_soa, NULL);
ss->ss_sdp_version = soa_get_user_version(nh->nh_soa);
if (soa_activate(nh->nh_soa, NULL) >= 0)
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