summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/ccw.c1
-rw-r--r--pttbbs/mbbsd/talk.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/ccw.c b/pttbbs/mbbsd/ccw.c
index d31110d6..89ebfefd 100644
--- a/pttbbs/mbbsd/ccw.c
+++ b/pttbbs/mbbsd/ccw.c
@@ -681,6 +681,7 @@ ccw_talk(int fd, int destuid)
// clean network resource
add_io(0, 0);
+ assert(fd == ctx.fd);
close(fd);
// close log file
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c
index efa54e87..d2ea1b65 100644
--- a/pttbbs/mbbsd/talk.c
+++ b/pttbbs/mbbsd/talk.c
@@ -3407,7 +3407,7 @@ talkreply(void)
assert(sig>=0 && sig<sizeof(sig_des)/sizeof(sig_des[0]));
prints(" (Y) 讓我們 %s 吧!"
" (A) 我現在很忙,請等一會兒再 call 我\n", sig_des[sig]);
- prints(" (N) 我現在不想 %s"
+ prints(" (N) 我現在不想 %s "
" (B) 對不起,我有事情不能跟你 %s\n",
sig_des[sig], sig_des[sig]);
prints(" (C) 請不要吵我好嗎?"