nuke handle on errs worse than 500 rather than 900

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16571 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-02-04 21:23:36 +00:00
parent cefcee3a85
commit 312abee36e
1 changed files with 1 additions and 1 deletions

View File

@ -1448,7 +1448,7 @@ void sofia_reg_handle_sip_r_register(int status,
nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_private_t *sofia_private, sip_t const *sip,
tagi_t tags[])
{
if (status >= 900) {
if (status >= 500) {
if (sofia_private && sofia_private->gateway) {
nua_handle_destroy(sofia_private->gateway->nh);
sofia_private->gateway->nh = NULL;