home · contact · privacy
Server: Only fflush() via send_to_outfile() when messages are finished.
[plomrogue] / src / server / thing_actions.c
index 4889e5fea2cc5d221d53d006244dc2986d00a22d..3542254b7d79082268cca727c65f3679a5f8511e 100644 (file)
@@ -48,9 +48,9 @@ static void playerbonus_use(uint8_t no_thing, uint8_t wrong_thing);
 
 static void update_log(char * text)
 {
-    send_to_outfile("LOG ");
-    send_to_outfile(text);
-    send_to_outfile("\n");
+    send_to_outfile("LOG ", 0);
+    send_to_outfile(text, 0);
+    send_to_outfile("\n", 1);
 }