[or-cvs] Flush after fputs
Nick Mathewson
nickm at seul.org
Wed Oct 1 00:42:26 UTC 2003
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv20144/common
Modified Files:
log.c
Log Message:
Flush after fputs
Index: log.c
===================================================================
RCS file: /home/or/cvsroot/src/common/log.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- log.c 30 Sep 2003 19:53:25 -0000 1.17
+++ log.c 1 Oct 2003 00:42:24 -0000 1.18
@@ -93,6 +93,7 @@
formatted = 1;
}
fputs(buf, lf->file);
+ fflush(lf->file);
/* XXX check for EOF */
}
}
More information about the tor-commits
mailing list