summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 10:39:58 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 10:39:58 +0800
commitb175f6981a4434f7459e9e633ac3a3076f1c4c61 (patch)
treed731a38eee27eadafea305ad960c94f778a9a43b /pttpi/cgi
parentfbd1043bb2d6df628397eb805b68cd4aec394d2d (diff)
downloadpttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar.gz
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar.bz2
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar.lz
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar.xz
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.tar.zst
pttbbs-b175f6981a4434f7459e9e633ac3a3076f1c4c61.zip
use Base64 in BM
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/cgi')
-rw-r--r--pttpi/cgi/pttpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttpi/cgi/pttpi.c b/pttpi/cgi/pttpi.c
index 187c4f63..dbaf75ce 100644
--- a/pttpi/cgi/pttpi.c
+++ b/pttpi/cgi/pttpi.c
@@ -1,4 +1,4 @@
-/* $Id: pttpi.c,v 1.1 2003/05/19 01:33:00 in2 Exp $ */
+/* $Id: pttpi.c,v 1.2 2003/05/19 02:39:58 in2 Exp $ */
#include "bbs.h"
#include "pierr.h"
#include <xmlrpc.h>
@@ -47,12 +47,12 @@ getBrdInfo(xmlrpc_env *env, xmlrpc_value *param_array, void *user_data)
errorexit();
check_board_and_permission(bid);
- return xmlrpc_build_value(env, "{s:i,s:s,s:i,s:6,s:s,s:i}",
+ return xmlrpc_build_value(env, "{s:i,s:s,s:i,s:6,s:6,s:i}",
"errno", PIERR_OK,
"brdname", bcache[bid].brdname,
"bid", (int32)bid,
"title", bcache[bid].title, strlen(bcache[bid].title),
- "BM", bcache[bid].BM,
+ "BM", bcache[bid].BM, strlen(bcache[bid].BM),
"nuser", bcache[bid].nuser);
}