Merged revisions 237699 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
  r237699 | russell | 2010-01-05 11:16:01 -0600 (Tue, 05 Jan 2010) | 14 lines
  
  Merged revisions 237697 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r237697 | russell | 2010-01-05 11:13:28 -0600 (Tue, 05 Jan 2010) | 7 lines
    
    Change a NOTICE log message to DEBUG where it belongs.
    
    (closes issue #16479)
    Reported by: alexrecarey
    
    (closes SWP-577)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@237724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2010-01-05 17:22:19 +00:00
parent 1fc6d3b359
commit 50a810caac

View File

@@ -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. */
ast_log(LOG_NOTICE, "Timed out trying to write\n");
#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 */