說明: 對不起... 是我寫出來的 bug ... O.o
Index: xchatd.c
===================================================================
--- xchatd.c (revision 1509)
+++ xchatd.c (working copy)
@@ -772,7 +772,7 @@
send_to_room(room, chatbuf, 0, MSG_MESSAGE);
if (list_belong(room->invite, user->userno)) {
- list_delete(room->invite, user->userno);
+ list_delete(&(room->invite), user->userno);
}
sprintf(chatbuf, "- %s", user->userid);
--
There are two types of people in this world, good and bad. The good
sleep better, but the bad seem to enjoy the waking hours much more.
-- Woody Allen
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.161.10.192