diff src/proxy.c @ 4452:2afc0f845e74

[gaim-migrate @ 4727] I cleaned up the async dns stuff a bit. Now everything will work again. Even TOC. You don't want to use TOC, though--but you already know that. You're smart. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 28 Jan 2003 21:42:44 +0000
parents 1f9cd40abb4a
children 6ed914a991ef
line wrap: on
line diff
--- a/src/proxy.c	Tue Jan 28 18:49:42 2003 +0000
+++ b/src/proxy.c	Tue Jan 28 21:42:44 2003 +0000
@@ -1156,7 +1156,8 @@
 	}
 }
 
-int proxy_connect(char *host, int port, GaimInputFunction func, gpointer data)
+int
+proxy_connect(char *host, int port, GaimInputFunction func, gpointer data)
 {
 	char *connecthost = host;
 	int connectport = port;
@@ -1194,5 +1195,5 @@
 	}
 	
 	gaim_gethostbyname_async(connecthost, connectport, connection_host_resolved, phb);
-	return 1;
+	return 0;
 }