]> arthur.barton.de Git - netatalk.git/commitdiff
More patenthesis
authorFrank Lahm <franklahm@googlemail.com>
Thu, 2 Dec 2010 15:06:22 +0000 (16:06 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 2 Dec 2010 15:06:22 +0000 (16:06 +0100)
libatalk/acl/unix.c

index be422aac38c7498d89e56c0f004f8cbe0374cff2..57933f088e40d2e9d4210739af9050ca0683fe88 100644 (file)
@@ -52,7 +52,7 @@ int get_nfsv4_acl(const char *name, ace_t **retAces)
         /* sorry, no ACLs for symlinks */
         return 0;
 
-    if ( ! (S_ISREG(st.st_mode) || S_ISDIR(st.st_mode))) {
+    if ( ! ((S_ISREG(st.st_mode)) || (S_ISDIR(st.st_mode)))) {
         LOG(log_warning, logtype_afpd, "get_nfsv4_acl(\"%s/%s\"): special", getcwdpath(), name);
         return 0;
     }