(closes issue #16479)
Reported by: alexrecarey
(closes SWP-577)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237697
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
while ((res = ast_poll(&pfd, 1, timeoutms - elapsed)) <= 0) {
if (res == 0) {
/* timed out. */
- ast_log(LOG_NOTICE, "Timed out trying to write\n");
+ if (option_debug) {
+ ast_log(LOG_DEBUG, "Timed out trying to write\n");
+ }
return -1;
} else if (res == -1) {
/* poll() returned an error, check to see if it was fatal */