mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Don't double verbose things
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
logger.c
10
logger.c
@@ -482,10 +482,12 @@ void ast_log(int level, const char *file, int line, const char *function, const
|
|||||||
* we don't have the logger chain configured yet,
|
* we don't have the logger chain configured yet,
|
||||||
* so just log to stdout
|
* so just log to stdout
|
||||||
*/
|
*/
|
||||||
va_start(ap, fmt);
|
if (level != __LOG_VERBOSE) {
|
||||||
vsnprintf(buf, sizeof(buf), fmt, ap);
|
va_start(ap, fmt);
|
||||||
va_end(ap);
|
vsnprintf(buf, sizeof(buf), fmt, ap);
|
||||||
fprintf(stdout, buf);
|
va_end(ap);
|
||||||
|
fprintf(stdout, buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ast_mutex_unlock(&loglock);
|
ast_mutex_unlock(&loglock);
|
||||||
|
Reference in New Issue
Block a user