projects
/
ppastats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b5e970
)
force flush
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 10 May 2012 15:18:09 +0000
(15:18 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 10 May 2012 15:18:09 +0000
(15:18 +0000)
src/log.c
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index
0790345
..
01667ff
100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-93,6
+93,7
@@
static void vlogf(int lvl, const char *fmt, va_list ap)
stdf = stdout;
fprintf(stdf, "[%ld] %s %s\n", tv.tv_sec, lvl_str, buffer);
stdf = stdout;
fprintf(stdf, "[%ld] %s %s\n", tv.tv_sec, lvl_str, buffer);
+ fflush(stdf);
}
void log_printf(int lvl, const char *fmt, ...)
}
void log_printf(int lvl, const char *fmt, ...)