fix nua_shutdown (MODENDP-75)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7204 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-13 22:49:35 +00:00
parent a974e75fab
commit b1504c87b5

View File

@ -293,7 +293,7 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
if ((event > nua_r_authenticate && event <= nua_r_ack)
|| event < nua_i_error
|| (nh && !nh->nh_valid)
|| (nua->nua_shutdown && event != nua_r_shutdown)) {
) {
if (msg)
msg_destroy(msg);
return event;