From 7f49ba5c86683e8339d744ad692e5e8043a05adc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 30 Apr 2009 00:23:51 +0000 Subject: [PATCH] add experimental NDLB-connectile-dysfunction-2.0 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13203 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 28faea6de5..cb192ff69f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -780,7 +780,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand } display = contact->m_display; - + if (is_nat) { if (is_tls) { reg_desc = "Registered(TLS-NAT)"; @@ -826,7 +826,6 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand switch_copy_string(path_encoded, ";fs_path=", 10); switch_url_encode(my_contact_str, path_encoded + 9, path_encoded_len - 9); exptime = 30; - switch_snprintf(contact_str + strlen(contact_str), sizeof(contact_str) - strlen(contact_str), "%s", path_encoded); } if (port) {