src/server/daemon/vfs.c

changeset 67
50505dc3f8a6
parent 66
74babc0082b7
child 69
4a10bc0ee80d
--- a/src/server/daemon/vfs.c	Sun May 26 12:12:07 2013 +0200
+++ b/src/server/daemon/vfs.c	Sun May 26 22:05:41 2013 +0200
@@ -411,10 +411,10 @@
 }
 
 int sys_acl_check(VFSContext *ctx, uint32_t access_mask, SysACL *sysacl) {
+    if(sysacl) {
+        sysacl->acl = NULL;
+    }
     if(!ctx) {
-        if(sysacl) {
-            sysacl->acl = NULL;
-        }
         return 0;
     }
     

mercurial