diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-20 21:37:46 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-20 21:37:46 +0800 |
commit | 27720fda1d79c185fa18677d0ed6cf64373357b7 (patch) | |
tree | 44625285cd0c7d6878fbd3c48fb27eb9584d2262 | |
parent | 86a39b63527374cf2b948c701503c12212f7616d (diff) | |
download | pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar.gz pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar.bz2 pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar.lz pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar.xz pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.tar.zst pttbbs-27720fda1d79c185fa18677d0ed6cf64373357b7.zip |
fix bug for SYSOP change fromhost
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@525 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 af8cd77b..52f35173 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.93 2002/09/15 18:15:22 in2 Exp $ */ +/* $Id: talk.c,v 1.94 2002/09/20 13:37:46 in2 Exp $ */ #include "bbs.h" #define QCAST int (*)(const void *, const void *) @@ -1890,7 +1890,7 @@ userlist(void) snprintf(buf, sizeof(buf), "¬G¶m [%s]¡G", currutmp->from); if (!getdata(1, 0, buf, currutmp->from, sizeof(currutmp->from), DOECHO)) - strncpy(currutmp->from, fromhost, 23); + strncpy(currutmp->from, buf, 23); redrawall = redraw = 1; } break; |