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

nua_session.c: fixed non-compiling fix on session state check

parent 94693439
......@@ -1916,7 +1916,7 @@ nua_session_server_init(nua_server_request_t *sr)
else if (sr->sr_usage) {
nua_session_usage_t *ss = nua_dialog_usage_private(sr->sr_usage);
if (ss->ss_state >= nua_callstate_terminating)
return SR_STATUS1(sr, 481, "Call is being terminated");
return SR_STATUS(sr, 481, "Call is being terminated");
if (nh->nh_soa) {
......@@ -507,7 +507,6 @@ SOFIAPUBVAR tag_typedef_t nutag_newsub;
#define NUTAG_NEWSUB_REF(x) nutag_newsub_ref, tag_bool_vr(&(x))
SOFIAPUBVAR tag_typedef_t nutag_newsub_ref;
#define NUTAG_REFER_EXPIRES(x) nutag_refer_expires, tag_uint_v((x))
SOFIAPUBVAR tag_typedef_t nutag_refer_expires;
#define NUTAG_REFER_EXPIRES_REF(x) nutag_refer_expires_ref, tag_uint_vr((&(x)))
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