yes mikej it needs to go in

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-01-18 23:04:56 +00:00
parent 3aa064fae8
commit 73f386244d
1 changed files with 1 additions and 3 deletions

View File

@ -1427,13 +1427,11 @@ void sofia_reg_handle_sip_r_register(int status,
if (sofia_private && sofia_private->gateway) {
nua_handle_destroy(sofia_private->gateway->nh);
sofia_private->gateway->nh = NULL;
sofia_private->gateway->state = REG_STATE_UNREGED;
} else {
nua_handle_destroy(nh);
}
return;
}
if (sofia_private && sofia_private->gateway) {
reg_state_t ostate = sofia_private->gateway->state;
switch (status) {