summaryrefslogtreecommitdiffstats
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
commit023d13b0a6fc4076671313704de085216d557cd7 (patch)
tree29b5e1c2d10c4eec7a5bd59bfdf5e6d23b10db92
parent708f554f6522b5598af039b24260a9d041d9a01b (diff)
downloadpttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar.gz
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar.bz2
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar.lz
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar.xz
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.tar.zst
pttbbs-023d13b0a6fc4076671313704de085216d557cd7.zip
fix bug - syntax error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1182 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/chc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/chc.c b/pttbbs/mbbsd/chc.c
index f63ae972..42abbe22 100644
--- a/pttbbs/mbbsd/chc.c
+++ b/pttbbs/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;