samba-cvs.cvs
[Top] [All Lists]

[SCM] Samba Shared Repository - branch master updated

Subject: [SCM] Samba Shared Repository - branch master updated
From: Jeremy Allison
Date: Wed, 7 Oct 2009 17:44:28 -0500 CDT
The branch, master has been updated
       via  14dc32a... Oops. Don't break the build.. Jeremy.
      from  94ce06f... Make the logic a lot clearer and fix the comment to 
match. Jeremy

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 14dc32a4f58c3336c8ecf2d918b443768d94451e
Author: Jeremy Allison <jra@xxxxxxxxx>
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

<Prev in Thread] Current Thread [Next in Thread>