git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b11a53
)
Fix error in logic, making recursion work past the first level.
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Tue, 27 Apr 2010 20:41:25 +0000
(22:41 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 20 Jun 2010 15:19:11 +0000
(17:19 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/policy/gp_filesys.c
patch
|
blob
|
history
diff --git
a/source4/lib/policy/gp_filesys.c
b/source4/lib/policy/gp_filesys.c
index bb42fa2984575e4b53174fbcc08bdc73c7dfa29c..deee3c517afb74aa980f9ff92c5bdaf200981cdb 100644
(file)
--- a/
source4/lib/policy/gp_filesys.c
+++ b/
source4/lib/policy/gp_filesys.c
@@
-86,7
+86,7
@@
static void gp_list_helper (struct clilist_file_info *info, const char *mask, vo
mkdir(full_local_path, 0755);
/* If the relative path is empty, then avoid the extra backslash */
- if (state->cur_rel_path[0]
!
= '\0') {
+ if (state->cur_rel_path[0]
=
= '\0') {
rel_path = info->name;
} else {
rel_path = talloc_asprintf(state, "%s\\%s", state->cur_rel_path, info->name);