diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-13 14:07:20 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-13 14:07:20 +0800 |
commit | cd394a56028c2e701545b79138077c78e21a0aed (patch) | |
tree | 41c00fffb1819beb3cdca607fc8160ba19c23024 /mbbsd/record.c | |
parent | fb535169f7c02b66138ef3bef59add8d86b6cfb0 (diff) | |
download | pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar.gz pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar.bz2 pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar.lz pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar.xz pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.tar.zst pttbbs-cd394a56028c2e701545b79138077c78e21a0aed.zip |
- (internal) code refine: change [200] to [PATHLEN], [STRLEN], or [ANSILINELEN].
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r-- | mbbsd/record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c index 4fe5e076..7f5b95b4 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -26,7 +26,7 @@ get_sum_records(const char *fpath, int size) int ans = 0; FILE *fp; fileheader_t fhdr; - char buf[200], *p; + char buf[PATHLEN], *p; // Ptt : should avoid big loop if ((fp = fopen(fpath, "r"))==NULL) |