[Asterisk-cvs] asterisk asterisk.c,1.77,1.78

markster at lists.digium.com markster at lists.digium.com
Fri Apr 30 23:06:47 CDT 2004


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

Modified Files:
	asterisk.c 
Log Message:
Put poll in a loop forever when not doing anything else.


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- asterisk.c	29 Apr 2004 03:39:36 -0000	1.77
+++ asterisk.c	1 May 2004 03:14:02 -0000	1.78
@@ -1672,7 +1672,8 @@
 
 	} else {
  		/* Do nothing */
-		poll(NULL,0, -1);
+		for(;;) 
+			poll(NULL,0, -1);
 	}
 	return 0;
 }




More information about the svn-commits mailing list