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/mbbsd.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/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 13e8159c..7174bba8 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -665,7 +665,7 @@ logattempt(const char *uid, char type) void mkuserdir(const char *userid) { - char genbuf[200]; + char genbuf[PATHLEN]; sethomepath(genbuf, userid); // assume it is a dir, so just check if it is exist if (access(genbuf, F_OK) != 0) |