diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 10:30:03 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:09:00 +0100 |
commit | d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5 (patch) | |
tree | e9e89cb174ef0c04218f8c1b4481d3ce1b15f999 /source4/ntp_signd | |
parent | 1441e87e249190bd9fea72773b8fd014a05f9861 (diff) | |
download | samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.gz samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.bz2 samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.zip |
s4:service_stream: s/private/private_data
metze
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) { |