comparison src/protocols/simple/simple.c @ 12492:3aaa3236386d

[gaim-migrate @ 14804] This comment style was annoying me committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 Dec 2005 01:52:38 +0000
parents 12db50600de5
children b7f7f3a685ea
comparison
equal deleted inserted replaced
12491:50ea9356bf52 12492:3aaa3236386d
526 auth = g_strdup_printf("Proxy-Authorization: %s",buf); 526 auth = g_strdup_printf("Proxy-Authorization: %s",buf);
527 g_free(buf); 527 g_free(buf);
528 gaim_debug(GAIM_DEBUG_MISC, "simple", "header %s", auth); 528 gaim_debug(GAIM_DEBUG_MISC, "simple", "header %s", auth);
529 } 529 }
530 530
531 if(!sip->ip || !strcmp(sip->ip,"0.0.0.0")) { // if there was no known ip retry now 531 if(!sip->ip || !strcmp(sip->ip,"0.0.0.0")) { /* if there was no known ip retry now */
532 g_free(sip->ip); 532 g_free(sip->ip);
533 sip->ip = g_strdup(gaim_network_get_public_ip()); 533 sip->ip = g_strdup(gaim_network_get_public_ip());
534 } 534 }
535 buf = g_strdup_printf("%s %s SIP/2.0\r\n" 535 buf = g_strdup_printf("%s %s SIP/2.0\r\n"
536 "Via: SIP/2.0/%s %s:%d;branch=%s\r\n" 536 "Via: SIP/2.0/%s %s:%d;branch=%s\r\n"