Commit e8dd73c6 authored by Pekka Pessi's avatar Pekka Pessi

nua_subnotref.c: include a SIPTAG_EVENT() in tag list of...

nua_subnotref.c: include a SIPTAG_EVENT() in tag list of nua_r_subscribe/nua_r_unsubscribe/nua_r_refer

darcs-hash:20070702113755-65a35-d8ab2b0215ec1ef39f840cd9355472b507c482e8.gz
parent b175b4c9
......@@ -401,9 +401,10 @@ static int nua_subscribe_client_response(nua_client_request_t *cr,
/* let nua_base_client_tresponse to remove usage */
cr->cr_terminated = 1;
}
return nua_base_client_tresponse(cr, status, phrase, sip,
NUTAG_SUBSTATE(substate),
SIPTAG_EVENT(du ? du->du_event : NULL),
TAG_END());
}
......@@ -852,6 +853,7 @@ static int nua_refer_client_request(nua_client_request_t *cr,
nua_stack_tevent(nh->nh_nua, nh, NULL,
cr->cr_event, SIP_100_TRYING,
NUTAG_REFER_EVENT(event),
SIPTAG_EVENT(event),
TAG_END());
su_free(nh->nh_home, event);
}
......@@ -885,5 +887,6 @@ static int nua_refer_client_response(nua_client_request_t *cr,
return nua_base_client_tresponse(cr, status, phrase, sip,
NUTAG_SUBSTATE(substate),
SIPTAG_EVENT(du ? du->du_event : NULL),
TAG_END());
}
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