diff options
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 6657f6a3..997f1d0f 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -426,7 +426,7 @@ multi_send(char *title) reciper = 1; fp = fopen(quote_file, "r"); assert(fp); - while (fgets(genbuf, 256, fp)) { + while (fgets(genbuf, sizeof(genbuf), fp)) { if (strncmp(genbuf, "กฐ ", 3)) { if (listing) break; |