comparison src/protocols/jabber/jabber.c @ 12686:5f65a0cca87c

[gaim-migrate @ 15029] Clean up the STUN / SRV API a bit. I don't use this stuff, so there was no testing beyond compiling it. I think it's right, though I couldn't find where the STUN discovery status was ever set to 1 (discovering). Anyone know something about that? committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 03 Jan 2006 00:23:24 +0000
parents a0fd3ebcd6fa
children b0ede7907dd0
comparison
equal deleted inserted replaced
12685:e9f279f0ef02 12686:5f65a0cca87c
405 405
406 if (rc != 0) 406 if (rc != 0)
407 gaim_connection_error(js->gc, _("Unable to create socket")); 407 gaim_connection_error(js->gc, _("Unable to create socket"));
408 } 408 }
409 409
410 static void srv_resolved_cb(struct srv_response *resp, int results, gpointer data) 410 static void srv_resolved_cb(GaimSrvResponse *resp, int results, gpointer data)
411 { 411 {
412 JabberStream *js = (JabberStream*)data; 412 JabberStream *js = (JabberStream*)data;
413 int config_port = gaim_account_get_int(js->gc->account, "port", 0); 413 int config_port = gaim_account_get_int(js->gc->account, "port", 0);
414 414
415 if(results) { 415 if(results) {