ffserver: reindent http_vlog()

Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
parent e9754564
...@@ -318,14 +318,14 @@ static void http_vlog(const char *fmt, va_list vargs) ...@@ -318,14 +318,14 @@ static void http_vlog(const char *fmt, va_list vargs)
if (!logfile) if (!logfile)
return; return;
if (print_prefix) { if (print_prefix) {
char buf[32]; char buf[32];
ctime1(buf, sizeof(buf)); ctime1(buf, sizeof(buf));
fprintf(logfile, "%s ", buf); fprintf(logfile, "%s ", buf);
} }
print_prefix = strstr(fmt, "\n") != NULL; print_prefix = strstr(fmt, "\n") != NULL;
vfprintf(logfile, fmt, vargs); vfprintf(logfile, fmt, vargs);
fflush(logfile); fflush(logfile);
} }
#ifdef __GNUC__ #ifdef __GNUC__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment