[Asterisk-cvs] asterisk utils.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Sat May 15 00:51:30 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv14707
Modified Files:
utils.c
Log Message:
Fix logic in gethostbyname_r (bug #1634)
Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- utils.c 13 May 2004 21:54:30 -0000 1.3
+++ utils.c 15 May 2004 05:02:42 -0000 1.4
@@ -111,7 +111,7 @@
h_errno = hsave; /* restore h_errno */
ast_mutex_unlock(&__mutex); /* end critical area */
- return (*result != NULL);
+ return (*result == NULL); /* return 0 on success, non-zero on error */
}
More information about the svn-commits
mailing list