From c655c20900cc86b2debe45b22c86fb82d84a291d Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 13 Sep 2003 13:43:05 +0000 Subject: fix bug - syntax error git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1182 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/chc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') 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; -- cgit v1.2.3