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
This commit is contained in:
gombasg 2006-03-23 12:13:02 +00:00 committed by Adam Visegradi
parent 277cea55b9
commit 91f1589138
1 changed files with 1 additions and 0 deletions

View File

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