diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-10 13:55:26 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-10 13:55:26 +0800 |
commit | 4ecf8e7ca5a495c2598699e439cc95da86998c95 (patch) | |
tree | 5ab13eaca8312aa53696354fb2950db64d0dd53a | |
parent | 6678caf6b8a83016e6765b7d0c34d53e159a1477 (diff) | |
download | pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar.gz pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar.bz2 pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar.lz pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar.xz pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.tar.zst pttbbs-4ecf8e7ca5a495c2598699e439cc95da86998c95.zip |
�W�[���J ���R�H�c�� ����
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/user.c | 5 |
1 files changed, 3 insertions, 2 deletions
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, "Áʶ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; |