diff options
-rw-r--r-- | source3/smbd/reply.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 8ca7c2a103..ae7710b48f 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2062,9 +2062,10 @@ int reply_unlink(connection_struct *conn, char *inbuf,char *outbuf, int dum_size pstring name; uint32 dirtype; NTSTATUS status; - START_PROFILE(SMBunlink); BOOL path_contains_wcard = False; + START_PROFILE(SMBunlink); + dirtype = SVAL(inbuf,smb_vwv0); srvstr_get_path_wcard(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status, &path_contains_wcard); |