summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 09:27:31 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 09:27:31 +0800
commit0fcff566e893ab1046e7319fe436ea6b1bb93e05 (patch)
tree27d6090fa958a97188cd05c65736e4aacbc85a2f /mbbsd/talk.c
parent168f10cd32f7df679055d129ee04e8f4526a9f27 (diff)
downloadpttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar.gz
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar.bz2
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar.lz
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar.xz
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.tar.zst
pttbbs-0fcff566e893ab1046e7319fe436ea6b1bb93e05.zip
- talk: fix waterball initialization
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index c51cc2a4..229a4803 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -687,8 +687,8 @@ my_write2(void)
i = WATERBALL_CONFIRM_ANGEL;
}
#endif
- if (!getdata_str(0, 0, genbuf, msg,
- 80 - strlen(tw->userid) - 6, DOECHO, genbuf))
+ if (!getdata_buf(0, 0, genbuf, msg,
+ 80 - strlen(tw->userid) - 6, DOECHO))
break;
if (my_write(tw->pid, msg, tw->userid, i, tw->uin))