diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-12-04 18:14:07 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-12-04 18:14:07 +0800 |
commit | effeeacf7aa1af8b4d48524076eff9b278659634 (patch) | |
tree | 755d3beedbeb70cdc85e6afecb6ce9c9fd41c698 | |
parent | 6484cecb100feeb348d9b18a1287addc3174f6db (diff) | |
download | pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar.gz pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar.bz2 pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar.lz pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar.xz pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.tar.zst pttbbs-effeeacf7aa1af8b4d48524076eff9b278659634.zip |
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 76c1276f..af88bc01 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.95 2002/11/16 13:41:07 kcwu Exp $ */ +/* $Id: talk.c,v 1.96 2002/12/04 10:14:07 in2 Exp $ */ #include "bbs.h" #define QCAST int (*)(const void *, const void *) @@ -669,7 +669,7 @@ my_write(pid_t pid, char *prompt, char *id, int flag, userinfo_t * puin) strlcpy(uin->msgs[uin->msgcount].userid, cuser.userid, sizeof(uin->msgs[uin->msgcount].userid)); strlcpy(uin->msgs[uin->msgcount++].last_call_in, msg, - sizeof(uin->msgs[uin->msgcount++].last_call_in)); + sizeof(uin->msgs[uin->msgcount].last_call_in)); uin->pager = pager0; } else if (flag != 2) outmsg("\033[1;33;41m糟糕! 對方不行了! (收到太多水球) \033[37m@_@\033[m"); |