The branch, v3-5-test has been updated via 879c3b8... Oops. Don't break the build.. Jeremy. from 48fee26... Make the logic a lot clearer and fix the comment to match. Jeremy
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test - Log ----------------------------------------------------------------- commit 879c3b8888b9a77136777b269ad730d4b3ca223b Author: Jeremy Allison <j...@samba.org> Date: Wed Oct 7 15:43:43 2009 -0700 Oops. Don't break the build.. Jeremy. ----------------------------------------------------------------------- Summary of changes: source3/smbd/files.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/files.c b/source3/smbd/files.c index f7509d7..2bc5ba6 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; } /**************************************************************************** -- Samba Shared Repository