projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c512310
)
Use fputs where it makes sense instead of fprintf
author
Mark Spencer
<markster@digium.com>
Tue, 13 Apr 2004 04:45:51 +0000
(
04:45
+0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 13 Apr 2004 04:45:51 +0000
(
04:45
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2682
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
logger.c
patch
|
blob
|
history
diff --git
a/logger.c
b/logger.c
index
0fadf2e
..
e11dd61
100755
(executable)
--- 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);
}
}