summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-24 09:18:54 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-24 09:18:54 +0800
commitd5c46c8d63194b7d4ad83ae99ecbc06f9108c86c (patch)
tree899b5e03cc2cd7aa44e049c608d3a09d205f0e2a /util
parent1d2247bb393afea674213551de9ee001eeea58ad (diff)
downloadpttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar.gz
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar.bz2
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar.lz
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar.xz
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.tar.zst
pttbbs-d5c46c8d63194b7d4ad83ae99ecbc06f9108c86c.zip
init userec_t version
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2275 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 cd5b1fc6..85b2cf8f 100644
--- a/util/passwdconverter.c
+++ b/util/passwdconverter.c
@@ -56,7 +56,7 @@ typedef struct old_userec_t {
void transform(userec_t *new, old_userec_t *old)
{
- new->version = 2275;
+ new->version = PASSWD_VERSION;
strlcpy(new->userid, old->userid, IDLEN + 1);
strlcpy(new->realname, old->realname, 20);