summaryrefslogtreecommitdiffstats
path: root/mbbsd/var.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-27 17:34:36 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-27 17:34:36 +0800
commitd0122a0edf93089c7a3897a899b26c8eeda4d311 (patch)
tree1c114a98000e5a876da866378f6a67d3ae25cb0e /mbbsd/var.c
parent61eaeca075313705fae418152deae1fef23298d1 (diff)
downloadpttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar.gz
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar.bz2
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar.lz
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar.xz
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.tar.zst
pttbbs-d0122a0edf93089c7a3897a899b26c8eeda4d311.zip
* fix: 'found nothing' after search 3-4 levels
* reason: sizeof(currdirect)<64> != sizeof(newdirect)<PATHLEN> * simply added message, not extending currdirect to prevent very long filenames git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/var.c')
-rw-r--r--mbbsd/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c
index c46cde6a..b9d8ad74 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -361,7 +361,7 @@ userinfo_t *currutmp;
int TagNum = 0; /* tag's number */
int TagBoard = -1; /* TagBoard = 0 : user's mailbox */
/* TagBoard > 0 : bid where last taged */
-char currdirect[64];
+char currdirect[64]; /* XXX TODO change this to PATHLEN? */
/* bbs.c */
char real_name[IDLEN + 1];