From: Sean E. <sea...@us...> - 2002-05-31 02:00:45
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv8859/src Modified Files: proxy.c Log Message: Sean Davis has a cool first name--and he decided gethostbyname should report its errors. Index: proxy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/proxy.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- proxy.c 28 Mar 2002 18:03:14 -0000 1.41 +++ proxy.c 31 May 2002 02:00:41 -0000 1.42 @@ -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)); |