diff -r c42949cfdd92 -r fe76d24a25d7 project_files/frontlib/logging.c --- a/project_files/frontlib/logging.c Thu May 31 18:54:40 2012 +0200 +++ b/project_files/frontlib/logging.c Sat Jun 02 14:26:52 2012 +0200 @@ -3,6 +3,7 @@ #include #include #include +#include char* flib_format_ip(uint32_t numip) { static char ip[16]; @@ -27,6 +28,7 @@ fprintf(file, " [%s]", prefix); vfprintf(file, fmt, args); fprintf(file, "\n"); + fflush(file); } void flib_log_e(const char *fmt, ...) {