summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-03-04 16:24:15 +0000
committerJim McDonough <jmcd@samba.org>2004-03-04 16:24:15 +0000
commita6bbc98a49ee489753a65a5feb5cfe3089ff46d8 (patch)
tree757cd0ce75591dc799b5b487f61e5fc4036debc8 /source3
parent4c00877894953d0d58663a9f9012eb2beeff6268 (diff)
downloadsamba-a6bbc98a49ee489753a65a5feb5cfe3089ff46d8.tar.gz
samba-a6bbc98a49ee489753a65a5feb5cfe3089ff46d8.tar.bz2
samba-a6bbc98a49ee489753a65a5feb5cfe3089ff46d8.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 217791cab21b79fdbe2ddb96079fb9abb8545dd7)
Diffstat (limited to 'source3')
-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] == '.') {