summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 21:43:05 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 21:43:05 +0800
commitc655c20900cc86b2debe45b22c86fb82d84a291d (patch)
tree1516c2206778bb879212907f28f65f3f434eb55e /mbbsd
parent4ad8a6c8bd48b9f27e753becee043a64d344644c (diff)
downloadpttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar.gz
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar.bz2
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar.lz
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar.xz
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.tar.zst
pttbbs-c655c20900cc86b2debe45b22c86fb82d84a291d.zip
fix bug - syntax error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1182 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/chc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index f63ae972..42abbe22 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -830,9 +830,9 @@ chc_init_play_func(chcusr_t *user1, chcusr_t *user2, play_func_t play_func[2])
static void
chc_watch_request(int signo)
{
+ chc_act_list *tmp;
if (!(currstat & CHC))
return;
- chc_act_list *tmp;
for(tmp = act_list; tmp->next != NULL; tmp = tmp->next);
tmp->next = (chc_act_list *)malloc(sizeof(chc_act_list));
tmp = tmp->next;