Use fputs where it makes sense instead of fprintf

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-04-13 04:45:51 +00:00
parent c512310934
commit 7ed519ba84

View File

@@ -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);
}
}