summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 10:30:03 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:09:00 +0100
commitd9c30894a1cb3d0814ba281dd6e9f5ca63c987d5 (patch)
treee9e89cb174ef0c04218f8c1b4481d3ce1b15f999 /source4/wrepl_server
parent1441e87e249190bd9fea72773b8fd014a05f9861 (diff)
downloadsamba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.gz
samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.bz2
samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.zip
s4:service_stream: s/private/private_data
metze
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_in_connection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/wrepl_server/wrepl_in_connection.c b/source4/wrepl_server/wrepl_in_connection.c
index 711ae866dd..e6a69b829a 100644
--- a/source4/wrepl_server/wrepl_in_connection.c
+++ b/source4/wrepl_server/wrepl_in_connection.c
@@ -123,7 +123,7 @@ static NTSTATUS wreplsrv_recv_request(void *private_data, DATA_BLOB blob)
*/
static void wreplsrv_recv(struct stream_connection *conn, uint16_t flags)
{
- struct wreplsrv_in_connection *wreplconn = talloc_get_type(conn->private,
+ struct wreplsrv_in_connection *wreplconn = talloc_get_type(conn->private_data,
struct wreplsrv_in_connection);
packet_recv(wreplconn->packet);
@@ -134,7 +134,7 @@ static void wreplsrv_recv(struct stream_connection *conn, uint16_t flags)
*/
static void wreplsrv_send(struct stream_connection *conn, uint16_t flags)
{
- struct wreplsrv_in_connection *wreplconn = talloc_get_type(conn->private,
+ struct wreplsrv_in_connection *wreplconn = talloc_get_type(conn->private_data,
struct wreplsrv_in_connection);
packet_queue_run(wreplconn->packet);
}
@@ -154,7 +154,7 @@ static void wreplsrv_recv_error(void *private_data, NTSTATUS status)
*/
static void wreplsrv_accept(struct stream_connection *conn)
{
- struct wreplsrv_service *service = talloc_get_type(conn->private, struct wreplsrv_service);
+ struct wreplsrv_service *service = talloc_get_type(conn->private_data, struct wreplsrv_service);
struct wreplsrv_in_connection *wreplconn;
struct socket_address *peer_ip;
@@ -189,7 +189,7 @@ static void wreplsrv_accept(struct stream_connection *conn)
wreplconn->partner = wreplsrv_find_partner(service, peer_ip->addr);
- conn->private = wreplconn;
+ conn->private_data = wreplconn;
irpc_add_name(conn->msg_ctx, "wreplsrv_connection");
}