*** empty log message ***

svn path=/trunk/boinc/; revision=3260
This commit is contained in:
David Anderson 2004-04-14 18:46:33 +00:00
parent c06295936c
commit ad6f5ae47f
2 changed files with 3 additions and 4 deletions

View File

@ -11573,13 +11573,14 @@ David April 13 2004
target_nresults
max_error_results
max_total_results
max_success_results
These are not copied to the output,
but are used to populate the WORKUNIT
(which is now passed in as an arg)
The latter means that 'create_work' (the cmdline program) is simplified;
it can now take as few as 4 args
it can now take as few as 5 args
tools
backend_lib.C

View File

@ -68,8 +68,7 @@ static int process_wu_template(
bool found=false;
strcpy(out, "");
p = strtok(tmplate, "\n");
while (p) {
for (p=strtok(tmplate, "\n"); p; p=strtok(0, "\n")) {
if (match_tag(p, "<file_info>")) {
file_number = -1;
strcat(out, "<file_info>\n");
@ -158,7 +157,6 @@ static int process_wu_template(
strcat(out, p);
strcat(out, "\n");
}
p = strtok(0, "\n");
}
if (!found) {
fprintf(stderr, "create_work: bad WU template - no <workunit>\n");