From a3d66dfef7025a9712f62cf3dda8ef910f848cf4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 1 Nov 2005 23:49:40 +0000 Subject: r11448: Move decl before code. Jeremy. (This used to be commit f22822790cdbbe7d5a237421c1eda73a504e488d) --- source3/smbd/reply.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit