summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e0442c143a..6e41de4ec9 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -228,7 +228,7 @@ size_t srvstr_get_path_wcard(char *inbuf, uint16 smb_flags2, char *dest,
*contains_wcard = False;
- if (SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) {
+ if (smb_flags2 & FLAGS2_DFS_PATHNAMES) {
/*
* For a DFS path the function parse_dfs_path()
* will do the path processing, just make a copy.