mirror of https://github.com/BOINC/boinc.git
Cancel previous change
This commit is contained in:
parent
57d6556b9e
commit
5b44ed2e60
|
@ -661,7 +661,7 @@ int VBOX_BASE::get_scratch_directory(string& dir) {
|
|||
int VBOX_BASE::get_slot_directory(string& dir) {
|
||||
char slot_dir[256];
|
||||
|
||||
if (getcwd(slot_dir, sizeof(slot_dir))) {;}
|
||||
getcwd(slot_dir, sizeof(slot_dir));
|
||||
dir = slot_dir;
|
||||
|
||||
if (!dir.empty()) {
|
||||
|
|
Loading…
Reference in New Issue