param: rename lp function and variable from "hideunwriteable_files" to "hide_unwritea...
[garming/samba-autobuild/.git] / source3 / smbd / dir.c
index 3106ee1ee39b79cfc290073789348d3ed87f3c9a..cb49a96c71aff503c8bfe73fbeef7d2ed5856d99 100644 (file)
@@ -1441,7 +1441,7 @@ 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_hideunwriteable_files(SNUM(conn));
+       bool hide_unwriteable = lp_hide_unwriteable_files(SNUM(conn));
        bool hide_special = lp_hide_special_files(SNUM(conn));
        char *entry = NULL;
        struct smb_filename *smb_fname_base = NULL;