X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=main.c;fp=main.c;h=6e912077f442af350c0459f42cd6403a84d244f5;hp=ce054520d2ed762f5c3ab92bf3f742bd4eea9e55;hb=2106a9212ce6610b01f7019d5acf92ee1af5c8d8;hpb=c67eb259868a81432a68fe14d3caeea33d7eafb2 diff --git a/main.c b/main.c index ce05452..6e91207 100644 --- a/main.c +++ b/main.c @@ -84,6 +84,7 @@ void debug(const char *function, int line, const char *prefix, char *buffer) fprintf(debug_fp, "%s%s(in %s() line %d): %s", prefix?prefix:"", prefix?" ":"", function, line, buffer); else fprintf(debug_fp, "%s%s: %s", prefix?prefix:"", prefix?" ":"", buffer); + fflush(debug_fp); } }