mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3383
This commit is contained in:
parent
61099a071a
commit
267d4b5370
|
@ -39,7 +39,7 @@ extern int process_result_template_upload_url_only(
|
|||
);
|
||||
|
||||
extern int read_file(FILE*, char* buf);
|
||||
extern int read_filename(const char* path, char* buf);
|
||||
extern int read_filename(const char* path, char* buf, int len);
|
||||
|
||||
extern void initialize_result(DB_RESULT&, DB_WORKUNIT&);
|
||||
extern int create_result(
|
||||
|
|
|
@ -186,9 +186,9 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
//fprintf(stderr, "wu_template = %s\n", wu_template);
|
||||
retval = read_filename(wu_template_file, wu_template);
|
||||
retval = read_filename(wu_template_file, wu_template, sizeof(wu_template));
|
||||
if (retval) {
|
||||
fprintf(stderr, "create_work: can't open WU template\n");
|
||||
fprintf(stderr, "create_work: can't open WU template: %d\n", retval);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -196,7 +196,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
retval = read_key_file(keyfile, key);
|
||||
if (retval) {
|
||||
fprintf(stderr, "create_work: can't read key");
|
||||
fprintf(stderr, "create_work: can't read key: %d", retval);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue