diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-30 04:11:24 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-30 04:11:24 +0800 |
commit | 95f0b420db24db279e1fb25b26973acf229e53e8 (patch) | |
tree | 72bd3843dbb180d2d78d998aa59431bffaf1b044 /mbbsd/user.c | |
parent | 1091228603cdb191d3c02e0f22468310140d0f32 (diff) | |
download | pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.gz pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.bz2 pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.lz pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.xz pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.zst pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.zip |
faster passwd by lower the lseek.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index d5c1d167..394f5a92 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1434,7 +1434,7 @@ static int usercounter, totalusers; static ushort u_list_special; static int -u_list_CB(userec_t * uentp) +u_list_CB(int num, userec_t * uentp) { static int i; char permstr[8], *ptr; @@ -1517,7 +1517,7 @@ u_list() if (genbuf[0] != '2') u_list_special = PERM_BASIC | PERM_CHAT | PERM_PAGE | PERM_POST | PERM_LOGINOK | PERM_BM; } - u_list_CB(NULL); + u_list_CB(0, NULL); if (passwd_apply(u_list_CB) == -1) { outs(msg_nobody); return XEASY; |