diff options
-rw-r--r-- | source3/smbd/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index fb1a700074..7dde18f430 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -902,7 +902,7 @@ BOOL is_visible_file(connection_struct *conn, const char *dir_path, const char * BOOL hide_unwriteable = lp_hideunwriteable_files(SNUM(conn)); BOOL hide_special = lp_hide_special_files(SNUM(conn)); - ZERO_STRUCT(pst); + ZERO_STRUCTP(pst); if ((strcmp(".",name) == 0) || (strcmp("..",name) == 0)) { return True; /* . and .. are always visible. */ |