]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign is_visible_file() args one per line
authorRalph Boehme <slow@samba.org>
Wed, 29 Apr 2020 07:51:13 +0000 (09:51 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 29 Apr 2020 16:39:41 +0000 (16:39 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c
source3/smbd/proto.h

index b080aeb18f8981778d8936fc8c173ddb2607990f..8846012cc735f543f62c15c79c4861886336c061 100644 (file)
@@ -1208,8 +1208,11 @@ static bool file_is_special(connection_struct *conn,
  NOTE: A successful return is no guarantee of the file's existence.
 ********************************************************************/
 
-bool is_visible_file(connection_struct *conn, const char *dir_path,
-                    const char *name, SMB_STRUCT_STAT *pst, bool use_veto)
+bool is_visible_file(connection_struct *conn,
+                    const char *dir_path,
+                    const char *name,
+                    SMB_STRUCT_STAT *pst,
+                    bool use_veto)
 {
        bool hide_unreadable = lp_hide_unreadable(SNUM(conn));
        bool hide_unwriteable = lp_hide_unwriteable_files(SNUM(conn));
index 8e88ab4037254b7392c70282838345c1228b0abe..fed6fb05c1476b56c497454a72059d814f745f68 100644 (file)
@@ -224,7 +224,11 @@ bool get_dir_entry(TALLOC_CTX *ctx,
                struct timespec *date,
                bool check_descend,
                bool ask_sharemode);
-bool is_visible_file(connection_struct *conn, const char *dir_path, const char *name, SMB_STRUCT_STAT *pst, bool use_veto);
+bool is_visible_file(connection_struct *conn,
+                    const char *dir_path,
+                    const char *name,
+                    SMB_STRUCT_STAT *pst,
+                    bool use_veto);
 struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx,
                        connection_struct *conn,
                        const struct smb_filename *smb_fname,