From 7d3857b7ab590752a9c3a32fab7559ec8ad49537 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sat, 24 Jan 2015 01:11:58 -0300 Subject: ffserver: reindent http_vlog() Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 16 ++++++++-------- 1 file 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__ -- cgit v1.2.3