Mercurial > pidgin
diff src/protocols/simple/simple.c @ 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 | 3f895385e841 |
| children | 2c73e08032a1 |
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);
