diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-01-24 01:11:58 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-01-24 01:11:58 -0300 |
commit | 7d3857b7ab590752a9c3a32fab7559ec8ad49537 (patch) | |
tree | 870001e7495f77e244b62cd83960a8565ba01ec7 | |
parent | e97545646af74536a3674954ade51464f51f38dc (diff) | |
download | ffmpeg-7d3857b7ab590752a9c3a32fab7559ec8ad49537.tar.gz |
ffserver: reindent http_vlog()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-rw-r--r-- | ffserver.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ffserver.c b/ffserver.c index 6d75ad6e1a..578e56092c 100644 --- a/ffserver.c +++ b/ffserver.c @@ -318,14 +318,14 @@ static void http_vlog(const char *fmt, va_list vargs) if (!logfile) return; - if (print_prefix) { - char buf[32]; - ctime1(buf, sizeof(buf)); - fprintf(logfile, "%s ", buf); - } - print_prefix = strstr(fmt, "\n") != NULL; - vfprintf(logfile, fmt, vargs); - fflush(logfile); + if (print_prefix) { + char buf[32]; + ctime1(buf, sizeof(buf)); + fprintf(logfile, "%s ", buf); + } + print_prefix = strstr(fmt, "\n") != NULL; + vfprintf(logfile, fmt, vargs); + fflush(logfile); } #ifdef __GNUC__ |