summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-10 13:55:26 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-10 13:55:26 +0800
commit48ff7860bf5e32dd66b0f6299e5a112d8aec705d (patch)
treecd19aed008b47cfa218f580da2d40515f06e310a
parent7e3f49000d2e2041ae2cb2a4f1df93150eeb8cba (diff)
downloadpttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar.gz
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar.bz2
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar.lz
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar.xz
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.tar.zst
pttbbs-48ff7860bf5e32dd66b0f6299e5a112d8aec705d.zip
�W�[���J ���R�H�c�� ����
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/user.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index e1ff5a3a..364a0420 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/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, "ÁʶR«H½c¼Æ¡G", buf, 4, DOECHO, genbuf))
+ if (getdata_str(i++, 0, "ÁʶR«H½c¼Æ¡G", buf, sizeof(buf),
+ DOECHO, genbuf))
if ((l = atol(buf)) != 0)
x.exmailbox = (int)l;