mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=789
This commit is contained in:
parent
7fce8718f1
commit
86812c0d41
|
@ -89,7 +89,7 @@ void make_work() {
|
|||
CONFIG config;
|
||||
char * p;
|
||||
int retval, i, start_time=time(0), n, nresults_left;
|
||||
char keypath[256], suffix[256], result_template[MAX_BLOB_SIZE], file_name[256], buf[MAX_BLOB_SIZE],pathname[256],new_file_name[256],new_pathname[256],command[256], starting_xml[MAX_BLOB_SIZE];
|
||||
char keypath[256], suffix[256], result_template[MAX_BLOB_SIZE], file_name[256], buf[MAX_BLOB_SIZE],pathname[256],new_file_name[256],new_pathname[256],command[256], starting_xml[MAX_BLOB_SIZE],new_buf[MAX_BLOB_SIZE];
|
||||
R_RSA_PRIVATE_KEY key;
|
||||
WORKUNIT wu;
|
||||
|
||||
|
@ -153,7 +153,9 @@ void make_work() {
|
|||
sprintf(new_pathname,"%s/%s",config.download_dir, new_file_name);
|
||||
sprintf(command,"cp %s %s",pathname,new_pathname);
|
||||
system(command);
|
||||
replace_file_name(wu.xml_doc,file_name,new_file_name,config.download_url);
|
||||
strcpy(new_buf,starting_xml);
|
||||
replace_file_name(new_buf,file_name,new_file_name,config.download_url);
|
||||
strcpy(wu.xml_doc, new_buf);
|
||||
}
|
||||
p = strtok(0, "\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue