summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-03 10:19:24 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-03 10:19:24 +0800
commitdd2bd13cacbe4827f9823f955cb77f8c86a74aea (patch)
tree7b89ea201471d3181855e389311f1a0b9f1c0004 /mbbsd/user.c
parentcbfcf574f76b32105c654ea5d5d1c94f41a03a9a (diff)
downloadpttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar.gz
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar.bz2
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar.lz
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar.xz
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.tar.zst
pttbbs-dd2bd13cacbe4827f9823f955cb77f8c86a74aea.zip
Remove rarely used function block_shift_left and block_shift_right,
which causes buffer overflow. Fix typo in user.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 83971b7d..d49a5893 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1133,7 +1133,7 @@ toregister(char *email, char *genbuf, char *phone, char *career,
sethomefile(buf, cuser.userid, "justify");
}
snprintf(buf, sizeof(buf),
- " " BBSENAME " - [ %s ]", getregcode(genbuf));
+ " " BBSNAME " - [ %s ]", getregcode(genbuf));
strlcpy(tmp, cuser.userid, sizeof(tmp));
strlcpy(cuser.userid, str_sysop, sizeof(cuser.userid));
#ifdef HAVEMOBILE