mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11322
This commit is contained in:
parent
61b166a173
commit
6eb0f16299
client
|
@ -80,13 +80,6 @@ int PROJECT::write_account_file() {
|
|||
fprintf(f, "</account>\n");
|
||||
fclose(f);
|
||||
retval = boinc_rename(TEMP_FILE_NAME, path);
|
||||
#ifdef _WIN32
|
||||
char error[4096];
|
||||
msg_printf(0, MSG_ERROR,
|
||||
"Can't rename file %s to %s; %s",
|
||||
TEMP_FILE_NAME, path, windows_error_string(error, sizeof(error))
|
||||
);
|
||||
#endif
|
||||
if (retval) return ERR_RENAME;
|
||||
return 0;
|
||||
}
|
||||
|
@ -394,13 +387,6 @@ int PROJECT::write_statistics_file() {
|
|||
|
||||
fclose(f);
|
||||
retval = boinc_rename(TEMP_FILE_NAME, path);
|
||||
#ifdef _WIN32
|
||||
char error[4096];
|
||||
msg_printf(0, MSG_ERROR,
|
||||
"Can't rename file %s to %s; %s",
|
||||
TEMP_FILE_NAME, path, windows_error_string(error, sizeof(error))
|
||||
);
|
||||
#endif
|
||||
if (retval) return ERR_RENAME;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue