mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h
metze
(This used to be commit 2f46e54e1b
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4812a5d3fd
commit
03b634042f
@ -745,9 +745,8 @@ NTSTATUS wrepl_pull_names_recv(struct wrepl_request *req,
|
||||
struct wrepl_wins_name *wname = &packet->message.replication.info.reply.names[i];
|
||||
struct wrepl_name *name = &io->out.names[i];
|
||||
|
||||
name->name = wname->name;
|
||||
talloc_steal(io->out.names, wname->name.name);
|
||||
talloc_steal(io->out.names, wname->name.scope);
|
||||
name->name = *wname->name;
|
||||
talloc_steal(io->out.names, wname->name);
|
||||
name->type = WREPL_NAME_TYPE(wname->flags);
|
||||
name->state = WREPL_NAME_STATE(wname->flags);
|
||||
name->node = WREPL_NAME_NODE(wname->flags);
|
||||
|
Reference in New Issue
Block a user