Attempt to fix the merged build
[jra/samba/.git] / libcli / nbt / nbtsocket.c
index 0d269faa0efceb3582030e5ebecef5c5fb0af229..dac61efc118bfb0b1825e71feef869e90f59c47f 100644 (file)
@@ -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;
 }