diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 10:39:58 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 10:39:58 +0800 |
commit | c98b14d3f6279f7ee5a1f294feb0a8395ea6281b (patch) | |
tree | a3af1eebfff789437bd7ccb1fee9d3db553b3755 | |
parent | 475fad506c14970123a068de0a7d8fb545c345ba (diff) | |
download | pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar.gz pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar.bz2 pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar.lz pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar.xz pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.tar.zst pttbbs-c98b14d3f6279f7ee5a1f294feb0a8395ea6281b.zip |
use Base64 in BM
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/pttpi/cgi/pttpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/pttpi/cgi/pttpi.c b/pttbbs/pttpi/cgi/pttpi.c index 187c4f63..dbaf75ce 100644 --- a/pttbbs/pttpi/cgi/pttpi.c +++ b/pttbbs/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); } |