[Asterisk-cvs] asterisk asterisk.c,1.44,1.45

markster at lists.digium.com markster at lists.digium.com
Tue Dec 2 21:35:04 CST 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv5871

Modified Files:
	asterisk.c 
Log Message:
Make asterisk -r not timeout


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- asterisk.c	3 Dec 2003 03:03:15 -0000	1.44
+++ asterisk.c	3 Dec 2003 04:01:28 -0000	1.45
@@ -182,7 +182,7 @@
 			max = con->p[0];
 		tv.tv_sec = 4;	/* Wait max 4 sec for fds to become active */
 		tv.tv_usec = 0;
-		res = ast_select(max + 1, &rfds, NULL, NULL, &tv);
+		res = ast_select(max + 1, &rfds, NULL, NULL, NULL);
 		if (res < 0) {
 			ast_log(LOG_WARNING, "select returned < 0: %s\n", strerror(errno));
 			continue;




More information about the svn-commits mailing list