mirror of https://github.com/BOINC/boinc.git
Use the constants from the BOINC API headers
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@495 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
a24feb3cd6
commit
bcb3aff2bb
|
@ -131,11 +131,11 @@ int DC_init(void)
|
|||
last_complete_ckpt = strdup(path);
|
||||
|
||||
/* Extract the WU name from init_data.xml */
|
||||
ret = stat("init_data.xml", &st);
|
||||
ret = stat(INIT_DATA_FILE, &st);
|
||||
if (ret)
|
||||
return DC_ERR_INTERNAL;
|
||||
|
||||
f = boinc_fopen("init_data.xml", "r");
|
||||
f = boinc_fopen(INIT_DATA_FILE, "r");
|
||||
if (!f)
|
||||
return DC_ERR_INTERNAL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue