Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Mon Jan 02 23:07:46 2006 +0000 +++ b/src/protocols/jabber/jabber.c Tue Jan 03 00:23:24 2006 +0000 @@ -407,7 +407,7 @@ gaim_connection_error(js->gc, _("Unable to create socket")); } -static void srv_resolved_cb(struct srv_response *resp, int results, gpointer data) +static void srv_resolved_cb(GaimSrvResponse *resp, int results, gpointer data) { JabberStream *js = (JabberStream*)data; int config_port = gaim_account_get_int(js->gc->account, "port", 0);