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 | 7929277c938670c3f5ca3147fd4b15bcd99f59ad (patch) | |
tree | f8440387a7263a7b895d91933d5eb643bcb6ef5e | |
parent | 20bf9b0770139ad2c3a702a78e2a66a870bc9e36 (diff) | |
download | pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar.gz pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar.bz2 pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar.lz pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar.xz pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.tar.zst pttbbs-7929277c938670c3f5ca3147fd4b15bcd99f59ad.zip |
fix bug for SYSOP change fromhost
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c index af8cd77b..52f35173 100644 --- a/pttbbs/mbbsd/talk.c +++ b/pttbbs/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; |