diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-22 13:19:38 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-22 13:19:38 +0800 |
commit | 6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e (patch) | |
tree | 2f187662ac83708a5dfd804b7387cae16d220ae5 /mbbsd/stuff.c | |
parent | 2f64261db80c6d5c818ab5554eee1810462ddaa2 (diff) | |
download | pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar.gz pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar.bz2 pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar.lz pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar.xz pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.tar.zst pttbbs-6c921c6cf947ea0f9bd5292ac9248c5b068d8d3e.zip |
* add auto-forward in admin view
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index a18e7989..787ef8dd 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -15,9 +15,7 @@ static const char * const str_dotdir = FN_DIR; void setuserfile(char *buf, const char *fname) { - assert(is_validuserid(cuser.userid)); - assert(fname[0]); - snprintf(buf, PATHLEN, str_home_file, cuser.userid[0], cuser.userid, fname); + sethomefile(buf, cuser.userid, fname); } void |