summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-04 20:11:02 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-04 20:11:02 +0800
commit6fe24d67db90d311f0c127aea6fd0f218b3a15c9 (patch)
tree125c16c14c4c3bfc8b0d8555668d3663bd8e2718 /mbbsd
parent8e8ee9eb488b119d6a61cb8f85ead0683018b963 (diff)
downloadpttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar.gz
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar.bz2
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar.lz
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar.xz
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.tar.zst
pttbbs-6fe24d67db90d311f0c127aea6fd0f218b3a15c9.zip
- add comments and eliminate compile warning
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/card.c2
-rw-r--r--mbbsd/talk.c4
2 files changed, 5 insertions, 1 deletions
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];