Commit fa6ed356 authored by Pekka Pessi's avatar Pekka Pessi

nua_notifier.c: allow notifier handle to be shut down if SUBSCRIBE has been...

nua_notifier.c: allow notifier handle to be shut down if SUBSCRIBE has been accpeted but no NOTIFY has been sent

darcs-hash:20080104215408-65a35-bf192d185dd72a4429218cb3a8b5638d26c7636c.gz
parent dd036b23
......@@ -802,8 +802,11 @@ static int nua_notify_usage_shutdown(nua_handle_t *nh,
return 0;
}
else {
if (nua_client_create(nh, nua_r_notify,
&nua_notify_client_methods, NULL) >= 0)
if (nua_client_tcreate(nh, nua_r_notify,
&nua_notify_client_methods,
SIPTAG_EVENT(du->du_event),
NUTAG_SUBSTATE(nua_substate_terminated),
TAG_END()) >= 0)
return 0;
}
......
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