summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-10 14:20:14 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-10 14:20:14 +0800
commit790ef96d3e3319f448800689eb40b62aaad31a73 (patch)
tree3e896b458b2b19f1acf6c34fac4c2f7565178f57 /mbbsd/mail.c
parent1baa5cc29474dd048caaccbb096953094a53e6a4 (diff)
downloadpttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar.gz
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar.bz2
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar.lz
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar.xz
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.tar.zst
pttbbs-790ef96d3e3319f448800689eb40b62aaad31a73.zip
slight changes
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
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;