s3: smbd: Reformat caller of user_can_write_file().
[amitay/samba.git] / source3 / smbd / dir.c
index 144f193ffbb60cc0235d7519044d95a866641462..1ac273664f898f514a55a0843bd7f807d4d2bfd5 100644 (file)
@@ -1279,8 +1279,10 @@ bool is_visible_file(connection_struct *conn,
                        goto out;
                }
                /* Honour _hide unwriteable_ option */
-               if (hide_unwriteable && !user_can_write_file(conn,
-                                                            smb_fname_base)) {
+               if (hide_unwriteable &&
+                   !user_can_write_file(conn,
+                               smb_fname_base))
+               {
                        DEBUG(10,("is_visible_file: file %s is unwritable.\n",
                                 entry ));
                        ret = false;