summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-12 05:44:52 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-12 05:44:52 +0800
commit7e16ca0359b6ec185a1a0d0090bb0736e614dbd0 (patch)
treee759a922960ac3fa7adc6b8c29ba8e804aa93039 /util
parent5fab37897fd8ec25825e2288b013813d0d06d361 (diff)
downloadpttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar.gz
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar.bz2
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar.lz
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar.xz
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.tar.zst
pttbbs-7e16ca0359b6ec185a1a0d0090bb0736e614dbd0.zip
reflect changes of ident in userec_t
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/passwdconverter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/passwdconverter.c b/util/passwdconverter.c
index 7cd60cbe..2361b787 100644
--- a/util/passwdconverter.c
+++ b/util/passwdconverter.c
@@ -96,7 +96,7 @@ void transform(userec_t *new, old_userec_t *old)
new->chc_tie = old->chc_tie;
new->mobile = old->mobile;
memcpy(new->mind, old->mind, 4);
- strlcpy(new->ident, old->ident, 11);
+ memset(new->pad0, 0, sizeof(new->pad0)); // ident is not used anymore
new->uflag2 = old->uflag2;
new->signature = old->signature;