Mercurial > pidgin.yaz
changeset 3283:f4f4232f4e83
[gaim-migrate @ 3301]
Sean Davis has a cool first name--and he decided gethostbyname should
report its errors.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 31 May 2002 02:00:41 +0000 |
parents | c32a8a97e011 |
children | 7b867d79da96 |
files | src/proxy.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/proxy.c Thu May 30 18:33:40 2002 +0000 +++ b/src/proxy.c Fri May 31 02:00:41 2002 +0000 @@ -126,6 +126,8 @@ if (!inet_aton(host, &sin.sin_addr)) { struct hostent *hp; if (!(hp = gethostbyname(host))) { + debug_printf("gaim_gethostbyname(\"%s\", %d) failed: %s", + host, port, hstrerror(h_errno)); return NULL; } memset(&sin, 0, sizeof(struct sockaddr_in));