Mercurial > pidgin
diff src/protocols/qq/qq_proxy.c @ 14115:8ea1929c4c69
[gaim-migrate @ 16749]
Fix a bunch of warnings that I caused.
Sorry, I should have compiled before committing.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 14 Aug 2006 07:27:41 +0000 |
| parents | 7795753a7af6 |
| children |
line wrap: on
line diff
--- a/src/protocols/qq/qq_proxy.c Mon Aug 14 07:23:11 2006 +0000 +++ b/src/protocols/qq/qq_proxy.c Mon Aug 14 07:27:41 2006 +0000 @@ -246,7 +246,7 @@ } else { /* connect returns 0 */ gaim_debug(GAIM_DEBUG_INFO, "QQ", "Connected.\n"); fcntl(fd, F_SETFL, 0); - phb->func(phb->data, fd, GAIM_INPUT_READ); + phb->func(phb->data, fd, NULL); } return fd; @@ -255,7 +255,7 @@ /* returns the socket handler, or -1 if there is any error */ static gint _qq_udp_proxy_connect(GaimAccount *account, const gchar *server, - guint16 port, void callback(gpointer, gint, GaimInputCondition), GaimConnection *gc) + guint16 port, void callback(gpointer, gint, const gchar *error_message), GaimConnection *gc) { struct sockaddr_in sin; struct PHB *phb;
