diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 22:49:08 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 22:49:08 +0800 |
commit | 471a65e552f18963ef2fa976663bdb61f9c8236c (patch) | |
tree | eafd56689d9da646d682113c6c0f4c6ca302fee6 /mbbsd/cal.c | |
parent | e22d3269f7d450ba90e42073943fc16bcc81a568 (diff) | |
download | pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.gz pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.bz2 pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.lz pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.xz pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.zst pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.zip |
code cleanup
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 1567f0c2..89383f99 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -1,4 +1,4 @@ -/* $Id: cal.c,v 1.27 2003/06/22 04:32:38 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" /* ¨¾°ô Multi play */ @@ -8,7 +8,7 @@ count_multiplay(int unmode) register int i, j; register userinfo_t *uentp; - for (i = j = 0; i < USHM_SIZE; i++) { + for (i = j = 0; i < USHM_SIZE; i++) { // XXX linear search uentp = &(SHM->uinfo[i]); if (uentp->uid == usernum) if (uentp->lockmode == unmode) |