From 91f158913884812f7c176517444b528785cc6d51 Mon Sep 17 00:00:00 2001 From: gombasg Date: Thu, 23 Mar 2006 12:13:02 +0000 Subject: [PATCH] Initialize the mode field of DC_PhysicalFile git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@389 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/boinc/dc.c | 1 + 1 file changed, 1 insertion(+) 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; }