From 6fe24d67db90d311f0c127aea6fd0f218b3a15c9 Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 4 Jun 2008 12:11:02 +0000 Subject: - add comments and eliminate compile warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/card.c | 2 +- mbbsd/talk.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/card.c b/mbbsd/card.c index 029176d1..63f21bf8 100644 --- a/mbbsd/card.c +++ b/mbbsd/card.c @@ -548,7 +548,7 @@ g_card_jack(void) { int db; char buf[3]; - int times = 0; + // int times = 0; setutmpmode(JACK_CARD); while (1) { diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 3ff0c00e..869336e9 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2631,6 +2631,10 @@ userlist(void) int fi; /* allpickuplist[fi] */ char swid[IDLEN + 1]; move(1, 0); + + // XXX si 已經寫死了 pickup_way = 0 + // 若使用者在 pickup_way != 0 時按 's'... + si = CompleteOnlineUser(msg_uid, swid); if (si >= 0) { pickup_t friends[MAX_FRIEND + 1]; -- cgit v1.2.3