ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reyna...@osg.samsung.com> | Sat Jan 24 01:11:58 2015 -0300| [7d3857b7ab590752a9c3a32fab7559ec8ad49537] | committer: Reynaldo H. Verdejo Pinochet
ffserver: reindent http_vlog() Signed-off-by: Reynaldo H. Verdejo Pinochet <reyna...@osg.samsung.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d3857b7ab590752a9c3a32fab7559ec8ad49537 --- ffserver.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ffserver.c b/ffserver.c index 6d75ad6..578e560 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__ _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog