diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-24 02:01:30 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-24 02:01:30 +0800 |
commit | 7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3 (patch) | |
tree | ea6aae1cc1f439df2009894cea12408a93a5a2a3 /mbbsd/mbbsd.c | |
parent | bc71e83b569d1297713d0cb77c2d5c2e6a59e587 (diff) | |
download | pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar.gz pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar.bz2 pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar.lz pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar.xz pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.tar.zst pttbbs-7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3.zip |
fix memory error
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 29121dd9..419c13e9 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.49 2002/08/23 11:33:01 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.50 2002/08/23 18:01:30 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -448,6 +448,7 @@ multi_user_check() return; /* don't check sysops */ if (cuser.userlevel) { + sort_utmp(); if (!(ui = (userinfo_t *) search_ulist(usernum))) return; /* user isn't logged in */ |