git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3073586
)
smbd: realign smb_fname member initialisation in smbd_dirptr_get_entry()
author
Ralph Boehme
<slow@samba.org>
Fri, 1 May 2020 15:06:26 +0000
(17:06 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 5 May 2020 19:18:41 +0000
(19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index 8a847a055ebcb6a4f51a99c9659e303c1e348d9a..f9f62e525c1d06fbbbbefbfbaa6582950f89dd4c 100644
(file)
--- a/
source3/smbd/dir.c
+++ b/
source3/smbd/dir.c
@@
-869,7
+869,8
@@
bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
/* Create smb_fname with NULL stream_name. */
smb_fname = (struct smb_filename) {
- .base_name = pathreal, .st = sbuf
+ .base_name = pathreal,
+ .st = sbuf,
};
ok = mode_fn(ctx, private_data, &smb_fname, get_dosmode, &mode);