- client: don't put CDATA around account manager opaque data

in request msg

svn path=/trunk/boinc/; revision=23210
This commit is contained in:
David Anderson 2011-03-08 20:36:04 +00:00
parent a39a0969d9
commit b8a88713d8
3 changed files with 76 additions and 1 deletions

View File

@ -1435,3 +1435,10 @@ David 7 Mar 2011
client/
work_fetch.cpp
David 8 Mar 2011
- client: don't put CDATA around account manager opaque data
in request msg
client/
acct_mgr.cpp

View File

@ -182,7 +182,7 @@ int ACCT_MGR_OP::do_rpc(
gstate.host_info.write(mf, !config.suppress_net_info, true);
if (strlen(gstate.acct_mgr_info.opaque)) {
fprintf(f,
" <opaque>\n<![CDATA[\n%s\n]]>\n"
" <opaque>\n%s\n"
" </opaque>\n",
gstate.acct_mgr_info.opaque
);

68
doc/sim.php Normal file
View File

@ -0,0 +1,68 @@
<?php
require_once("../inc/util.inc");
function show_scenarios() {
page_head();
$d = open_dir("scenarios");
while ($f = readdir($d)) {
if ($f == ".") continue;
if ($f == "..") continue;
}
page_tail();
}
function create_scenario_form() {
page_head();
page_tail();
}
function create_scenario() {
// redirect to show_scenario
}
function show_scenario() {
page_head();
page_tail();
}
function simulation_form() {
page_head();
page_tail();
}
function simulation_action() {
//redirect to show_simulation
}
function show_simulation() {
page_head();
page_tail();
}
$action = get_str("action", true);
switch ($action) {
case "create_scenario_form":
create_scenario_form();
break;
case "create_scenario":
create_scenario();
break;
case "show_scenario":
show_scenario();
break;
case "simulation_form":
simulation_form();
break;
case "simulation_action":
simulation_action();
break;
case "show_simulation":
show_simulation();
break;
default:
show_scenarios();
}
?>