summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-06 17:40:43 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-06 17:40:43 +0800
commitce8d20f25bcfb6bf48bd2b3c60835427a03a37bf (patch)
treea91a3810176fe5ebbbd32a61ea70562761093d07
parent0beba6441cc34cb1fb7c0350882e3ae256b5309d (diff)
downloadpttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar.gz
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar.bz2
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar.lz
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar.xz
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.tar.zst
pttbbs-ce8d20f25bcfb6bf48bd2b3c60835427a03a37bf.zip
bug fix: fix broadcast linklist
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/chc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index 3a18536c..cac9f75e 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -130,8 +130,8 @@ chc_broadcast(chc_act_list **head, board_t board){
chc_act_list *tmp = p->next->next;
free(p->next);
p->next = tmp;
- }
- p = p->next;
+ } else
+ p = p->next;
}
}