summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-10-07 15:43:43 -0700
committerJeremy Allison <jra@samba.org>2009-10-07 15:43:43 -0700
commit14dc32a4f58c3336c8ecf2d918b443768d94451e (patch)
tree2755890f1fc4a7f96cf3abc49ab01a92c08f16f5 /source3
parent94ce06f01d9c84e79df1029ec3e2c6defc7fa800 (diff)
downloadsamba-14dc32a4f58c3336c8ecf2d918b443768d94451e.tar.gz
samba-14dc32a4f58c3336c8ecf2d918b443768d94451e.tar.bz2
samba-14dc32a4f58c3336c8ecf2d918b443768d94451e.zip
Oops. Don't break the build..
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/files.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index f7509d75fd..2bc5ba6816 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -405,14 +405,13 @@ bool file_find_subpath(files_struct *dir_fsp)
files_struct *fsp;
size_t dlen;
char *d_fullname = NULL;
- bool ret = false;
d_fullname = talloc_asprintf(talloc_tos(), "%s/%s",
dir_fsp->conn->connectpath,
dir_fsp->fsp_name->base_name);
if (!d_fullname) {
- goto out;
+ return false;
}
dlen = strlen(d_fullname);
@@ -443,7 +442,7 @@ bool file_find_subpath(files_struct *dir_fsp)
}
TALLOC_FREE(d_fullname);
- return ret;
+ return false;
}
/****************************************************************************