[Asterisk-cvs] asterisk asterisk.c,1.129,1.130

markster at lists.digium.com markster at lists.digium.com
Thu Nov 11 09:41:59 CST 2004


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

Modified Files:
	asterisk.c 
Log Message:
Work around silly macos (bug #2833)


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- asterisk.c	7 Nov 2004 16:21:00 -0000	1.129
+++ asterisk.c	11 Nov 2004 14:43:18 -0000	1.130
@@ -1917,9 +1917,10 @@
 		}
 
 	} else {
+		struct pollfd silly_macos[1];	
 		/* Do nothing */
 		for(;;) 
-			poll(NULL,0, -1);
+			poll(silly_macos,0, -1);
 	}
 	return 0;
 }




More information about the svn-commits mailing list