home · contact · privacy
Server: Only fflush() via send_to_outfile() when messages are finished.
[plomrogue] / src / server / run.h
index bd13d1dde788d7a370d0c08aaeca1888167280eb..26a0c2f7108ae8390897a8e0301ccd173f0d0b37 100644 (file)
@@ -14,8 +14,8 @@
 
 
 
-/* Append "answer" to server output file, with instant fflush(). */
-extern void send_to_outfile(char * answer);
+/* Append "answer" to server output file, with instant fflush() if "flush". */
+extern void send_to_outfile(char * answer, uint8_t flush);
 
 /* Record save and record file data. Both are only written if "force" is set, or
  * on the first run with unset "force", or if 15 seconds have passed since the