From: Ralph Boehme Date: Wed, 29 Apr 2020 07:51:13 +0000 (+0200) Subject: smbd: realign is_visible_file() args one per line X-Git-Tag: ldb-2.2.0~814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84743b727f4f5bb367876d7651098ebec66fcdd9;p=thirdparty%2Fsamba.git smbd: realign is_visible_file() args one per line Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index b080aeb18f8..8846012cc73 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -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)); diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 8e88ab40372..fed6fb05c14 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -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,