X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=src%2Fserver%2Fmain.c;h=09ce530dea96033af7c0fec03829bb72b2fdf74e;hb=07514a620c4af0e3b43efffa90087594e4e62577;hp=6cf6b413bc7c92215cd4b4ecd1386d28d6f88575;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue
diff --git a/src/server/main.c b/src/server/main.c
index 6cf6b41..09ce530 100644
--- a/src/server/main.c
+++ b/src/server/main.c
@@ -5,6 +5,7 @@
#include /* exit() */
#include /* mkfifo(), mkdir() */
#include /* access() */
+#include "../common/err_try_fgets.h" /* set_err_try_fgets_delim() */
#include "../common/rexit.h" /* exit_err, exit_trouble(), set_cleanup_func() */
#include "cleanup.h" /* set_cleanup_flag(), cleanup() */
#include "init.h" /* run_game(), obey_argv() */
@@ -44,6 +45,7 @@ int main(int argc, char ** argv)
world.path_out = "server/out";
world.path_record = "record";
world.tmp_suffix = "_tmp";
+ set_err_try_fgets_delim("%%\n");
/* Treat world.path_in file as server process lock file. */
char * err = "Found pre-existing input fifo file. This indicates another "