aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-05 17:26:50 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-05 17:26:50 +0000
commit8e1f5b4d31c2643005399830a01bfb072ac5f9d2 (patch)
treebb250e5b91adec694a78c6d37946fb0d831678d3 /main/utils.c
parente9e7af54aca13eab172fa05b52e961856a0dc945 (diff)
Fix build of utility apps that include utils.c.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237749 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/utils.c b/main/utils.c
index cb5018e6e..e900f7be2 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -1071,7 +1071,9 @@ static int ast_wait_for_output(int fd, int timeoutms)
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 */