summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-03-04 16:24:13 +0000
committerJim McDonough <jmcd@samba.org>2004-03-04 16:24:13 +0000
commit7dc6dd58843cf1332964b7119fb683310fc4e3c7 (patch)
tree77b332c756b00ea3bcf0d175caadf60086316196 /source3/smbd/reply.c
parente7efbb588afe94236a602bd2598eccf67beea1f7 (diff)
downloadsamba-7dc6dd58843cf1332964b7119fb683310fc4e3c7.tar.gz
samba-7dc6dd58843cf1332964b7119fb683310fc4e3c7.tar.bz2
samba-7dc6dd58843cf1332964b7119fb683310fc4e3c7.zip
Fix build farm, older compilers won't let you declare variables
right in the middle of the code. I just love catching jra on stuff like this, after all the crap I've done. :-) (This used to be commit dc7dc5175847243d821dd33c1678af1b785dfaf7)
Diffstat (limited to 'source3/smbd/reply.c')
-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 051aaafb45..c0d5234f47 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1544,8 +1544,8 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
while ((dname = ReadDirName(dirptr))) {
pstring fname;
- pstrcpy(fname,dname);
BOOL sys_direntry = False;
+ pstrcpy(fname,dname);
/* Quick check for "." and ".." */
if (fname[0] == '.') {