mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libdgram: Remove an unused parameter
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
d88f826c7b
commit
92580b3f2f
@ -127,8 +127,7 @@ NTSTATUS dgram_mailslot_netlogon_reply(struct nbt_dgram_socket *dgmsock,
|
||||
const char *my_netbios_name,
|
||||
const char *mailslot_name,
|
||||
struct nbt_netlogon_response *reply);
|
||||
NTSTATUS dgram_mailslot_netlogon_parse_request(struct dgram_mailslot_handler *dgmslot,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
NTSTATUS dgram_mailslot_netlogon_parse_request(TALLOC_CTX *mem_ctx,
|
||||
struct nbt_dgram_packet *dgram,
|
||||
struct nbt_netlogon_packet *netlogon);
|
||||
|
||||
|
@ -99,8 +99,7 @@ NTSTATUS dgram_mailslot_netlogon_reply(struct nbt_dgram_socket *dgmsock,
|
||||
/*
|
||||
parse a netlogon request. The packet must be a valid mailslot packet
|
||||
*/
|
||||
NTSTATUS dgram_mailslot_netlogon_parse_request(struct dgram_mailslot_handler *dgmslot,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
NTSTATUS dgram_mailslot_netlogon_parse_request(TALLOC_CTX *mem_ctx,
|
||||
struct nbt_dgram_packet *dgram,
|
||||
struct nbt_netlogon_packet *netlogon)
|
||||
{
|
||||
|
@ -171,7 +171,8 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot,
|
||||
|
||||
DEBUG(5,("netlogon request to %s from %s:%d\n",
|
||||
nbt_name_string(netlogon, name), src->addr, src->port));
|
||||
status = dgram_mailslot_netlogon_parse_request(dgmslot, netlogon, packet, netlogon);
|
||||
status = dgram_mailslot_netlogon_parse_request(netlogon, packet,
|
||||
netlogon);
|
||||
if (!NT_STATUS_IS_OK(status)) goto failed;
|
||||
|
||||
switch (netlogon->command) {
|
||||
|
Loading…
Reference in New Issue
Block a user