]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
wtf
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 25 Jan 2013 19:56:30 +0000 (13:56 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 1 Apr 2013 02:27:20 +0000 (21:27 -0500)
src/mod/endpoints/mod_sofia/sofia_reg.c

index 8197a8a18e8e5fbf7242afed30a24c71b5279bc6..b74b979ff1b823402069992872f5aa2ded815b15 100644 (file)
@@ -1124,8 +1124,6 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
                uparams = NULL;
        }
        
-       printf("WTF b4 [%s]\n", uparams);
-
 
        if (sip && sip->sip_via && (vproto = sip->sip_via->v_protocol)) {
                if (!strcasecmp(vproto, "sip/2.0/ws")) {
@@ -1136,14 +1134,10 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
                        is_nat++;
 
                        if (uparams && (p = switch_stristr("transport=ws", uparams))) {
-                               printf("WTF [%s]=[%c]...\n", p, p[12]);
-                               
                                if (p[12] != 's') {
                                        utmp = switch_string_replace(uparams, "transport=ws", "transport=wss");
-                                       //uparams = utmp;
                                }
                        }
-                       printf("WTF af [%s][%s]\n", uparams, utmp);
                }
        }