diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-22 23:23:09 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-22 23:23:09 +0800 |
commit | ba062be712fba188ce7624ecbd8c1ee4554545f4 (patch) | |
tree | 825d5a2b7fe73c82b500039807965afd51420264 /mbbsd/user.c | |
parent | a1d2b5a7522d4a225309c7c3a0215388e9e26f3b (diff) | |
download | pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar.gz pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar.bz2 pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar.lz pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar.xz pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.tar.zst pttbbs-ba062be712fba188ce7624ecbd8c1ee4554545f4.zip |
fix 2 bug for last patch.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 5c08c167..c88d26d9 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -685,12 +685,13 @@ uinfo_query(userec_t *u, int adminmode, int unum) outs("\nµù¥U¥¼¶W¹L¥b¦~¡A½Ð«·s¿é¤J\n"); i--; } + strcpy(witness[i], atuser.userid); + // Adjust upper or lower case } } if (i < 3) break; - i = 20; sprintf(title, "%s ªº±K½X«³]³qª¾ (by %s)",u->userid, cuser.userid); unlink("etc/updatepwd.log"); if(! (fp = fopen("etc/updatepwd.log", "w"))) @@ -701,12 +702,13 @@ uinfo_query(userec_t *u, int adminmode, int unum) u->userid, witness[0], witness[1], witness[2] ); fclose(fp); - post_file("Security", title, "etc/updatepwd.log", "[¨t²Î¦w¥þþ§½]"); + post_file("Security", title, "etc/updatepwd.log", "[¨t²Î¦w¥þ§½]"); mail_id(u->userid, title, "etc/updatepwd.log", cuser.userid); for(i=0; i<3; i++) { mail_id(witness[i], title, "etc/updatepwd.log", cuser.userid); } + i = 20; } if (!getdata(i++, 0, "½Ð³]©w·s±K½X¡G", buf, PASSLEN, NOECHO)) { |