diff --git a/dcapi/boinc/dc.c b/dcapi/boinc/dc.c index 65d10f548b..3b61d38b79 100644 --- a/dcapi/boinc/dc.c +++ b/dcapi/boinc/dc.c @@ -151,6 +151,7 @@ DC_PhysicalFile *_DC_createPhysicalFile(const char *label, file = g_new(DC_PhysicalFile, 1); file->label = g_strdup(label); file->path = g_strdup(path); + file->mode = DC_FILE_REGULAR; return file; }