]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Flush after fputs
authorNick Mathewson <nickm@torproject.org>
Wed, 1 Oct 2003 00:42:24 +0000 (00:42 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 1 Oct 2003 00:42:24 +0000 (00:42 +0000)
svn:r526

src/common/log.c

index 10398305c678fe4a71731fb9efd97883320ceaa3..2feb075c02fe2eb8322db7a40037e4156360aeef 100644 (file)
@@ -93,6 +93,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap)
       formatted = 1;
     }
     fputs(buf, lf->file);
+    fflush(lf->file);
     /* XXX check for EOF */
   }
 }