diff options
Diffstat (limited to 'source4/ntp_signd')
-rw-r--r-- | source4/ntp_signd/ntp_signd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c index 3040716897..4306e5a938 100644 --- a/source4/ntp_signd/ntp_signd.c +++ b/source4/ntp_signd/ntp_signd.c @@ -263,7 +263,7 @@ static NTSTATUS ntp_signd_recv(void *private_data, DATA_BLOB wrapped_input) */ static void ntp_signd_recv_handler(struct stream_connection *conn, uint16_t flags) { - struct ntp_signd_connection *ntp_signdconn = talloc_get_type(conn->private, + struct ntp_signd_connection *ntp_signdconn = talloc_get_type(conn->private_data, struct ntp_signd_connection); packet_recv(ntp_signdconn->packet); } @@ -282,7 +282,7 @@ static void ntp_signd_recv_error(void *private_data, NTSTATUS status) */ static void ntp_signd_send(struct stream_connection *conn, uint16_t flags) { - struct ntp_signd_connection *ntp_signdconn = talloc_get_type(conn->private, + struct ntp_signd_connection *ntp_signdconn = talloc_get_type(conn->private_data, struct ntp_signd_connection); packet_queue_run(ntp_signdconn->packet); } @@ -292,7 +292,7 @@ static void ntp_signd_send(struct stream_connection *conn, uint16_t flags) */ static void ntp_signd_accept(struct stream_connection *conn) { - struct ntp_signd_server *ntp_signd = talloc_get_type(conn->private, struct ntp_signd_server); + struct ntp_signd_server *ntp_signd = talloc_get_type(conn->private_data, struct ntp_signd_server); struct ntp_signd_connection *ntp_signdconn; ntp_signdconn = talloc_zero(conn, struct ntp_signd_connection); @@ -302,7 +302,7 @@ static void ntp_signd_accept(struct stream_connection *conn) } ntp_signdconn->conn = conn; ntp_signdconn->ntp_signd = ntp_signd; - conn->private = ntp_signdconn; + conn->private_data = ntp_signdconn; ntp_signdconn->packet = packet_init(ntp_signdconn); if (ntp_signdconn->packet == NULL) { |