summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-24 08:22:46 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-24 08:22:46 +0800
commit24f0e64aee9f065c6ff9e9af6fa674e46611c097 (patch)
treede2109a9e5428dec3543cb1f8951aa5e745e20d3 /mbbsd/cache.c
parent5f8b21df87a664c9880c3ab481ae37e2537c2c69 (diff)
downloadpttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar.gz
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar.bz2
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar.lz
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar.xz
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.tar.zst
pttbbs-24f0e64aee9f065c6ff9e9af6fa674e46611c097.zip
fix last commit.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3301 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 2d6fc0dd..ff8b116e 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -195,8 +195,6 @@ int
dosearchuser(const char *userid, char *rightid)
{
int h, p, times;
- if(userid[0]=='\0')
- return 0;
STATINC(STAT_SEARCHUSER);
h = StringHash(userid)%(1<<HASH_BITS);
p = SHM->hash_head[h];