diff options
author | Jeremy Allison <jra@samba.org> | 2009-10-07 15:43:43 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-10-07 15:43:43 -0700 |
commit | 14dc32a4f58c3336c8ecf2d918b443768d94451e (patch) | |
tree | 2755890f1fc4a7f96cf3abc49ab01a92c08f16f5 | |
parent | 94ce06f01d9c84e79df1029ec3e2c6defc7fa800 (diff) | |
download | samba-14dc32a4f58c3336c8ecf2d918b443768d94451e.tar.gz samba-14dc32a4f58c3336c8ecf2d918b443768d94451e.tar.bz2 samba-14dc32a4f58c3336c8ecf2d918b443768d94451e.zip |
Oops. Don't break the build..
Jeremy.
-rw-r--r-- | source3/smbd/files.c | 5 |
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; } /**************************************************************************** |