1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

srvsvc: Avoid a dependency on share_mode_entry->id

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2018-02-07 12:16:10 +01:00 committed by Jeremy Allison
parent d9e5148470
commit 9d7701c923

View File

@ -2725,7 +2725,7 @@ static int enum_file_close_fn(const struct share_mode_entry *e,
DBG_DEBUG("request to close file %s, %s\n", sharepath,
share_mode_str(talloc_tos(), 0, id, e));
share_mode_entry_to_message(msg, &e->id, e);
share_mode_entry_to_message(msg, id, e);
state->r->out.result = ntstatus_to_werror(
messaging_send_buf(state->msg_ctx,