1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

smbd: Slightly simplify do_break_to_none

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke 2013-09-02 09:08:04 +00:00 committed by Michael Adam
parent 392889c8bc
commit f9a7ea2df2

View File

@ -753,8 +753,7 @@ static void do_break_to_none(struct tevent_context *ctx,
messaging_send_buf(state->sconn->msg_ctx,
share_entry->pid,
MSG_SMB_ASYNC_LEVEL2_BREAK,
(uint8 *)msg,
MSG_SMB_SHARE_MODE_ENTRY_SIZE);
(uint8 *)msg, sizeof(msg));
}
}