little stuff

svn path=/trunk/boinc/; revision=289
This commit is contained in:
David Anderson 2002-08-12 00:38:31 +00:00
parent 249b26c273
commit edb165438a
4 changed files with 6 additions and 6 deletions

View File

@ -1386,7 +1386,7 @@ Eric Heien August 2, 2002
net_xfer.C net_xfer.C
net_xfer.h net_xfer.h
David A. David A. August 4 2002
Various changes to API: Various changes to API:
- Added user, team names, credit info to APP_INIT_DATA - Added user, team names, credit info to APP_INIT_DATA
- separate call for getting init data - separate call for getting init data

View File

@ -229,7 +229,7 @@ int RESULT::parse_from_client(FILE* fin) {
if (match_tag(buf, "</result>")) return 0; if (match_tag(buf, "</result>")) return 0;
else if (parse_str(buf, "<name>", name)) continue; else if (parse_str(buf, "<name>", name)) continue;
else if (parse_int(buf, "<exit_status>", exit_status)) continue; else if (parse_int(buf, "<exit_status>", exit_status)) continue;
else if (parse_double(buf, "<cpu_time>", cpu_time)) continue; else if (parse_double(buf, "<final_cpu_time>", cpu_time)) continue;
else if (match_tag(buf, "<file_info>")) { else if (match_tag(buf, "<file_info>")) {
strcat(xml_doc_out, buf); strcat(xml_doc_out, buf);
while (fgets(buf, 256, fin)) { while (fgets(buf, 256, fin)) {

View File

@ -6,12 +6,11 @@
<disk_max_used_pct>50</disk_max_used_pct> <disk_max_used_pct>50</disk_max_used_pct>
<disk_min_free_gb>0.4</disk_min_free_gb> <disk_min_free_gb>0.4</disk_min_free_gb>
<project> <project>
<master_url>http://localhost.localdomain</master_url> <master_url>BOINC_MASTER_URL</master_url>
<email_addr>david@localdomain</email_addr> <authenticator>3f7b90793a0175ad0bda68684e8bd136</authenticator>
<authenticator>123892398</authenticator>
<resource_share>10</resource_share> <resource_share>10</resource_share>
<project_specific> <project_specific>
<color-scheme>Tahiti Sunset</color-scheme> <color-scheme>Tahiti Sunset</color-scheme>
</project_specific> </project_specific>
</project>\n" </project>
</preferences> </preferences>

View File

@ -17,6 +17,7 @@
add_app("uc_slow", null, null); add_app("uc_slow", null, null);
create_work("-appname uc_slow -wu_name ucs_wu -wu_template ucs_wu -result_template ucs_result -nresults 1 small_input"); create_work("-appname uc_slow -wu_name ucs_wu -wu_template ucs_wu -result_template ucs_result -nresults 1 small_input");
echo "Now run the client manually; start and stop it a few times.\n"; echo "Now run the client manually; start and stop it a few times.\n";
start_feeder();
//run_client(); //run_client();
//compare_file("ucs_wu_0_0", "uc_small_correct_output"); //compare_file("ucs_wu_0_0", "uc_small_correct_output");
?> ?>