git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c670465
)
s4-policy: Use the correct local directory for stat.
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 2 Aug 2011 05:13:36 +0000
(15:13 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 3 Aug 2011 04:25:57 +0000
(14:25 +1000)
Signed-off-by: Andrew Bartlett <abartlet@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 00d04d536757dcf2b09ed4bd2d6c01c09c09414d..6e0cbedf5967abed57bb01f67b4e985ccc190a1e 100644
(file)
--- a/
source4/lib/policy/gp_filesys.c
+++ b/
source4/lib/policy/gp_filesys.c
@@
-417,7
+417,7
@@
static NTSTATUS push_recursive (struct gp_context *gp_ctx, const char *local_pat
remote_path, dirent->d_name);
NT_STATUS_HAVE_NO_MEMORY(entry_remote_path);
- if (stat(
dirent->d_name
, &s) != 0) {
+ if (stat(
entry_local_path
, &s) != 0) {
return NT_STATUS_UNSUCCESSFUL;
}
if (s.st_mode & S_IFDIR) {