summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 60b51b1f..b830fe5c 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.31 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: user.c,v 1.32 2002/07/21 10:11:13 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -728,7 +728,7 @@ getfield(int line, char *info, char *desc, char *buf, int len)
outs(genbuf);
sprintf(prompt, "%sĄG", desc);
if (getdata_str(line + 1, 2, prompt, genbuf, len, DOECHO, buf))
- strlcpy(buf, genbuf, sizeof(buf));
+ strcpy(buf, genbuf);
move(line, 2);
prints("%sĄG%s", desc, buf);
clrtoeol();