From 27720fda1d79c185fa18677d0ed6cf64373357b7 Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 20 Sep 2002 13:37:46 +0000 Subject: fix bug for SYSOP change fromhost git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 4 ++-- 1 file 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; -- cgit v1.2.3