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:
gombasg 2006-05-03 11:02:50 +00:00 committed by Adam Visegradi
parent a24feb3cd6
commit bcb3aff2bb
1 changed files with 2 additions and 2 deletions

View File

@ -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;