summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-11-01 23:49:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:16 -0500
commita3d66dfef7025a9712f62cf3dda8ef910f848cf4 (patch)
treed529696e3dbeb167241e1877469b02639e05390c
parent9d4760d1190b907010d67dd938be568b776329b8 (diff)
downloadsamba-a3d66dfef7025a9712f62cf3dda8ef910f848cf4.tar.gz
samba-a3d66dfef7025a9712f62cf3dda8ef910f848cf4.tar.bz2
samba-a3d66dfef7025a9712f62cf3dda8ef910f848cf4.zip
r11448: Move decl before code.
Jeremy. (This used to be commit f22822790cdbbe7d5a237421c1eda73a504e488d)
-rw-r--r--source3/smbd/reply.c3
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);