diff src/proxy.c @ 4499:6ed914a991ef

[gaim-migrate @ 4774] proxy_connect returns -1 on gethostbyname error committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 01 Feb 2003 00:22:05 +0000
parents 2afc0f845e74
children d19872836812
line wrap: on
line diff
--- a/src/proxy.c	Fri Jan 31 22:41:56 2003 +0000
+++ b/src/proxy.c	Sat Feb 01 00:22:05 2003 +0000
@@ -1194,6 +1194,5 @@
 			return -1;
 	}
 	
-	gaim_gethostbyname_async(connecthost, connectport, connection_host_resolved, phb);
-	return 0;
+	return gaim_gethostbyname_async(connecthost, connectport, connection_host_resolved, phb);
 }