summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rwxr-xr-xlogger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/logger.c b/logger.c
index 0fadf2edb..e11dd617f 100755
--- a/logger.c
+++ b/logger.c
@@ -514,7 +514,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
- fprintf(chan->fileptr, buf);
+ fputs(buf, chan->fileptr);
fflush(chan->fileptr);
}
chan = chan->next;
@@ -528,7 +528,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
- fprintf(stdout, buf);
+ fputs(buf, stdout);
}
}