]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add experimental NDLB-connectile-dysfunction-2.0
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 30 Apr 2009 00:23:51 +0000 (00:23 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 30 Apr 2009 00:23:51 +0000 (00:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13203 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 28faea6de5d730af4a5195fcad13dbda5314d976..cb192ff69f390b70f8f6e56a0bb3fdc039eb12e5 100644 (file)
@@ -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) {