From 7e16ca0359b6ec185a1a0d0090bb0736e614dbd0 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 11 Sep 2005 21:44:52 +0000 Subject: reflect changes of ident in userec_t git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/passwdconverter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3