git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abef6ca
)
smbd: fix a long line in smb2_query_directory_next_entry()
author
Ralph Boehme
<slow@samba.org>
Thu, 21 Jun 2018 10:44:42 +0000
(12:44 +0200)
committer
Ralph Boehme
<slow@samba.org>
Fri, 27 Jul 2018 11:07:15 +0000
(13:07 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_query_directory.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_query_directory.c
b/source3/smbd/smb2_query_directory.c
index 6577ab81eaaf14d67b075402c70a8236f8da6645..1a7137ce8793247c74176409d360a5962f6787d8 100644
(file)
--- a/
source3/smbd/smb2_query_directory.c
+++ b/
source3/smbd/smb2_query_directory.c
@@
-576,13
+576,14
@@
static bool smb2_query_directory_next_entry(struct tevent_req *req)
if (state->async_ask_sharemode) {
struct tevent_req *subreq = NULL;
+ char *buf = state->base_data + state->last_entry_off;
subreq = fetch_write_time_send(state,
state->ev,
state->fsp->conn,
file_id,
state->info_level,
-
state->base_data + state->last_entry_of
f,
+
bu
f,
&stop);
if (tevent_req_nomem(subreq, req)) {
return true;