summaryrefslogtreecommitdiff
path: root/libcli/nbt/nbtsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/nbt/nbtsocket.c')
-rw-r--r--libcli/nbt/nbtsocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/nbt/nbtsocket.c b/libcli/nbt/nbtsocket.c
index 0d269faa0e..dac61efc11 100644
--- a/libcli/nbt/nbtsocket.c
+++ b/libcli/nbt/nbtsocket.c
@@ -522,10 +522,10 @@ _PUBLIC_ NTSTATUS nbt_set_incoming_handler(struct nbt_name_socket *nbtsock,
NTSTATUS nbt_set_unexpected_handler(struct nbt_name_socket *nbtsock,
void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *,
struct socket_address *),
- void *private)
+ void *private_data)
{
nbtsock->unexpected.handler = handler;
- nbtsock->unexpected.private_data = private;
+ nbtsock->unexpected.private_data = private_data;
EVENT_FD_READABLE(nbtsock->fde);
return NT_STATUS_OK;
}