changeset 12570:f6762269699a

[gaim-migrate @ 14889] This is what i meant to do before. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 19 Dec 2005 21:46:40 +0000
parents 853e85b6d98c
children 2c73e08032a1
files src/protocols/simple/simple.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/simple/simple.c	Mon Dec 19 21:03:56 2005 +0000
+++ b/src/protocols/simple/simple.c	Mon Dec 19 21:46:40 2005 +0000
@@ -1243,6 +1243,7 @@
 		/** TODO: this should probably be async, right? */
 		if (!(h = gethostbyname(hostname))) {
 			gaim_connection_error(sip->gc, _("Couldn't resolve host"));
+			return;
 		}
 
 		sip->fd = socket(AF_INET, SOCK_DGRAM, 0);