Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv21237

Modified Files:
        acl.c 
Log Message:
make this call to socket() consistent with the rest of them in Asterisk


Index: acl.c
===================================================================
RCS file: /usr/cvsroot/asterisk/acl.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- acl.c       6 Jun 2005 22:12:18 -0000       1.46
+++ acl.c       8 Jul 2005 14:27:39 -0000       1.47
@@ -271,7 +271,7 @@
        socklen_t slen;
 
        s = socket(PF_INET, SOCK_DGRAM, 0);
-       if (s == -1) {
+       if (s < 0) {
                ast_log(LOG_WARNING, "Cannot create socket\n");
                return -1;
        }

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to