[asterisk-commits] mjordan: branch mjordan/1.8_instrumented r369734 - /team/mjordan/1.8_instrume...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 6 14:16:27 CDT 2012


Author: mjordan
Date: Fri Jul  6 14:16:23 2012
New Revision: 369734

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369734
Log:
Check the value of ast_socket...

Modified:
    team/mjordan/1.8_instrumented/main/asterisk.c

Modified: team/mjordan/1.8_instrumented/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/1.8_instrumented/main/asterisk.c?view=diff&rev=369734&r1=369733&r2=369734
==============================================================================
--- team/mjordan/1.8_instrumented/main/asterisk.c (original)
+++ team/mjordan/1.8_instrumented/main/asterisk.c Fri Jul  6 14:16:23 2012
@@ -1360,6 +1360,7 @@
 			return NULL;
 		fds[0].fd = ast_socket;
 		fds[0].events = POLLIN;
+		printf("Starting poll on ast_socket %d\n", ast_socket);
 		s = ast_poll(fds, 1, -1);
 		pthread_testcancel();
 		if (s < 0) {
@@ -2869,6 +2870,7 @@
 		fds.fd = ast_consock;
 		fds.events = POLLIN;
 		fds.revents = 0;
+		printf("REMOTE CONSOLE STARTING POLL ON fds - ast_socket %d\n", ast_socket);
 		while (ast_poll(&fds, 1, 60000) > 0) {
 			char buffer[512] = "", *curline = buffer, *nextline;
 			int not_written = 1;




More information about the asterisk-commits mailing list