diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-01 02:50:21 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-01 02:50:21 +0800 |
commit | 02560ed28e084817ca159f1299994718bcea5a3f (patch) | |
tree | 8c62565437f7d9b30d8c457dc95e66ba7428e421 /mbbsd | |
parent | 3bd06012dac3cc8cb1a73348c8d03e975880adc4 (diff) | |
download | pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar.gz pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar.bz2 pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar.lz pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar.xz pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.tar.zst pttbbs-02560ed28e084817ca159f1299994718bcea5a3f.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1658 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c index cd679f03..0f46f65f 100644 --- a/mbbsd/passwd.c +++ b/mbbsd/passwd.c @@ -126,11 +126,11 @@ userec_t userecbuf; int initcuser(char *userid) { // Ptt: setup cuser and usernum here + cuser = &userecbuf; if(userid[0]=='\0' || !(usernum = searchuser(userid)) || usernum > MAX_USERS) return -1; passwd_query(usernum, &userecbuf); - cuser = &userecbuf; return usernum; } |