comparison libpurple/protocols/jabber/jabber.c @ 25593:affaa4c4836e

* some code style adjustments in caps.c * some DNS API changes to prepare TXT record resolving support
author Tobias Markmann <tfar@soc.pidgin.im>
date Fri, 01 Aug 2008 12:34:33 +0000
parents 7f6558c7a0a3
children 7768cad83127
comparison
equal deleted inserted replaced
25592:6606566f15ff 25593:affaa4c4836e
681 } 681 }
682 682
683 /* no old-ssl, so if they've specified a connect server, we'll use that, otherwise we'll 683 /* no old-ssl, so if they've specified a connect server, we'll use that, otherwise we'll
684 * invoke the magic of SRV lookups, to figure out host and port */ 684 * invoke the magic of SRV lookups, to figure out host and port */
685 if(!js->gsc) { 685 if(!js->gsc) {
686 if(connect_server[0]) { 686 if(connect_server[0]) {
687 jabber_login_connect(js, js->user->domain, connect_server, purple_account_get_int(account, "port", 5222)); 687 jabber_login_connect(js, js->user->domain, connect_server, purple_account_get_int(account, "port", 5222));
688 } else { 688 } else {
689 js->srv_query_data = purple_srv_resolve("xmpp-client", 689 js->srv_query_data = purple_srv_resolve("xmpp-client",
690 "tcp", js->user->domain, srv_resolved_cb, js); 690 "tcp", js->user->domain, srv_resolved_cb, js);
691 } 691 }