r23731: Forgot one reference to inbuf
authorVolker Lendecke <vlendec@samba.org>
Fri, 6 Jul 2007 16:39:58 +0000 (16:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:50 +0000 (12:23 -0500)
(This used to be commit b02115f2ca6aca8655a4ebd1bd0adaa1e50578ce)

source3/smbd/reply.c

index e0442c143aeb3107831d95b6871d684da4385da7..6e41de4ec9af9ba4dc45b8ff3c990d0d6d1ea92f 100644 (file)
@@ -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.