From 4ecf8e7ca5a495c2598699e439cc95da86998c95 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 10 Mar 2003 05:55:26 +0000 Subject: =?UTF-8?q?=EF=BF=BDW=EF=BF=BD[=EF=BF=BD=EF=BF=BD=EF=BF=BDJ=20?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BDR=EF=BF=BDH=EF=BF=BDc=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mbbsd/user.c') diff --git a/mbbsd/user.c b/mbbsd/user.c index e1ff5a3a..364a0420 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1,4 +1,4 @@ -/* $Id: user.c,v 1.48 2003/03/08 01:43:28 in2 Exp $ */ +/* $Id: user.c,v 1.49 2003/03/10 05:55:26 in2 Exp $ */ #include "bbs.h" static char *sex[8] = { @@ -303,7 +303,8 @@ uinfo_query(userec_t * u, int real, int unum) } } snprintf(genbuf, sizeof(genbuf), "%d", x.exmailbox); - if (getdata_str(i++, 0, "購買信箱數:", buf, 4, DOECHO, genbuf)) + if (getdata_str(i++, 0, "購買信箱數:", buf, sizeof(buf), + DOECHO, genbuf)) if ((l = atol(buf)) != 0) x.exmailbox = (int)l; -- cgit v1.2.3