Mercurial > pidgin
comparison src/protocols/simple/simple.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 | 7b816173e2c6 |
| children | e893563d965d |
comparison
equal
deleted
inserted
replaced
| 12685:e9f279f0ef02 | 12686:5f65a0cca87c |
|---|---|
| 1192 | 1192 |
| 1193 static gboolean simple_ht_equals_nick(const char *nick1, const char *nick2) { | 1193 static gboolean simple_ht_equals_nick(const char *nick1, const char *nick2) { |
| 1194 return (gaim_utf8_strcasecmp(nick1, nick2) == 0); | 1194 return (gaim_utf8_strcasecmp(nick1, nick2) == 0); |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 static void srvresolved(struct srv_response *resp, int results, gpointer data) { | 1197 static void srvresolved(GaimSrvResponse *resp, int results, gpointer data) { |
| 1198 struct simple_account_data *sip = (struct simple_account_data*) data; | 1198 struct simple_account_data *sip = (struct simple_account_data*) data; |
| 1199 | 1199 |
| 1200 gchar *hostname; | 1200 gchar *hostname; |
| 1201 int port = 5060; | 1201 int port = 5060; |
| 1202 | 1202 |
