]> git.pond.sub.org Git - empserver/blobdiff - src/lib/player/empdis.c
(gamedown, show_motd): Fix message buffer size. Messages of maximum
[empserver] / src / lib / player / empdis.c
index 56a75163712384589cdc29422c40f927e3b73b09..3d0f52153c25453e43102d5890c260b91d61c918 100644 (file)
@@ -154,7 +154,7 @@ gamedown(void)
 {
     FILE *down_fp;
     struct telstr tgm;
-    s_char buf[MAXTELSIZE]; /* buf is message text */
+    char buf[MAXTELSIZE + 1];  /* message text */
 
     if (player->god)
        return 0;