git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ce06f
)
Oops. Don't break the build..
author
Jeremy Allison
<jra@samba.org>
Wed, 7 Oct 2009 22:43:43 +0000
(15:43 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 7 Oct 2009 22:43:43 +0000
(15:43 -0700)
Jeremy.
source3/smbd/files.c
patch
|
blob
|
history
diff --git
a/source3/smbd/files.c
b/source3/smbd/files.c
index f7509d75fde0c35bb3dd4721cfeb52671566930c..2bc5ba6816e0a75ed431c6239652c765364ab654 100644
(file)
--- 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
;
}
/****************************************************************************