projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
630152f
)
Fix build of utility apps that include utils.c.
author
Russell Bryant
<russell@russellbryant.com>
Tue, 5 Jan 2010 17:26:50 +0000
(17:26 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 5 Jan 2010 17:26:50 +0000
(17:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237749
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/utils.c
patch
|
blob
|
history
diff --git
a/main/utils.c
b/main/utils.c
index
cb5018e
..
e900f7b
100644
(file)
--- 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 */