diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-21 19:57:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-21 20:49:17 +0100 |
commit | c85a4c9ba4a7de65a7850f6f9708df66bd24deea (patch) | |
tree | 5205ef1da477ed65127276d684cf48a7edfbe7d5 /source3/smbd/dir.c | |
parent | 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af (diff) | |
download | samba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.tar.gz samba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.tar.bz2 samba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.zip |
s3: Move the global variable Protocol to struct smbd_server_connection
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 137048d4d4..25ca5e51b4 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -1215,7 +1215,8 @@ bool is_visible_file(connection_struct *conn, const char *dir_path, } /* If it's a vetoed file, pretend it doesn't even exist */ - if (use_veto && is_in_path(name, conn->veto_list, get_Protocol(), + if (use_veto && is_in_path(name, conn->veto_list, + get_Protocol(conn->sconn), conn->case_sensitive)) { DEBUG(10,("is_visible_file: file %s is vetoed.\n", name )); return False; |