[asterisk-commits] russell: trunk r237749 - /trunk/main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 5 11:26:53 CST 2010


Author: russell
Date: Tue Jan  5 11:26:50 2010
New Revision: 237749

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237749
Log:
Fix build of utility apps that include utils.c.

Modified:
    trunk/main/utils.c

Modified: trunk/main/utils.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/utils.c?view=diff&rev=237749&r1=237748&r2=237749
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Tue Jan  5 11:26:50 2010
@@ -1071,7 +1071,9 @@
 	while ((res = ast_poll(&pfd, 1, timeoutms - elapsed)) <= 0) {
 		if (res == 0) {
 			/* timed out. */
+#ifndef STANDALONE
 			ast_debug(1, "Timed out trying to write\n");
+#endif
 			return -1;
 		} else if (res == -1) {
 			/* poll() returned an error, check to see if it was fatal */




More information about the asterisk-commits mailing list