summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-10-30 17:25:41 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-10-30 17:25:41 +0800
commit6496d43acd5fa94072d5b5d874e3c0490c4e0dcc (patch)
tree83d6e01c1de41706a045f2ee3225ee655c1194a9
parentfe25f26ae3f2539228b93412d4bd26c769766299 (diff)
downloadpttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar.gz
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar.bz2
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar.lz
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar.xz
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.tar.zst
pttbbs-6496d43acd5fa94072d5b5d874e3c0490c4e0dcc.zip
Fix NIOS debug calls
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/nios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/nios.c b/pttbbs/mbbsd/nios.c
index 87542618..156830e0 100644
--- a/pttbbs/mbbsd/nios.c
+++ b/pttbbs/mbbsd/nios.c
@@ -420,7 +420,7 @@ vkey_attach(int fd)
VKEY_PROTO int
vkey_detach()
{
- CINDBGLOG("vkey_detach()");
+ VKEYDBGLOG("vkey_detach()");
int r = vkctx.attached_fd;
vkctx.attached_fd = 0;
@@ -581,8 +581,8 @@ vkey_is_ready()
VKEY_PROTO int
vkey_poll(int timeout)
{
- if (timeout) refresh();
VKEYDBGLOG("vkey_poll(%d)", timeout);
+ if (timeout) refresh();
return vkey_process(timeout, 1) != KEY_INCOMPLETE;
}