mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
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.4@237697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -935,7 +935,9 @@ int ast_carefulwrite(int fd, char *s, int len, 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");
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user