From: Anthony Minessale Date: Fri, 26 Feb 2010 20:57:37 +0000 (+0000) Subject: doh X-Git-Tag: v1.0.6~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7056933546265d28723c2c6f7fe21829b2a42a2;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16841 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 73cd3c1ce2..d9bfb0627b 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -235,7 +235,6 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now) pkey = switch_mprintf("%s::%s", profile->name, gateway_ptr->name); - switch_snprintf(pkey, sizeof(pkey), "%s::%s", profile->name, gateway_ptr->name); switch_core_hash_delete(mod_sofia_globals.gateway_hash, pkey); switch_core_hash_delete(mod_sofia_globals.gateway_hash, gateway_ptr->name);