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/rpc_server | |
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/rpc_server')
-rw-r--r-- | source4/rpc_server/service_rpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c index ec10c748f0..5596944bd8 100644 --- a/source4/rpc_server/service_rpc.c +++ b/source4/rpc_server/service_rpc.c @@ -103,7 +103,7 @@ static void dcesrv_sock_accept(struct stream_connection *srv_conn) { NTSTATUS status; struct dcesrv_socket_context *dcesrv_sock = - talloc_get_type(srv_conn->private, struct dcesrv_socket_context); + talloc_get_type(srv_conn->private_data, struct dcesrv_socket_context); struct dcesrv_connection *dcesrv_conn = NULL; if (!srv_conn->session_info) { @@ -144,7 +144,7 @@ static void dcesrv_sock_accept(struct stream_connection *srv_conn) dcesrv_conn->auth_state.session_key = dcesrv_inherited_session_key; } - srv_conn->private = dcesrv_conn; + srv_conn->private_data = dcesrv_conn; irpc_add_name(srv_conn->msg_ctx, "rpc_server"); @@ -154,7 +154,7 @@ static void dcesrv_sock_accept(struct stream_connection *srv_conn) static void dcesrv_sock_recv(struct stream_connection *conn, uint16_t flags) { NTSTATUS status; - struct dcesrv_connection *dce_conn = talloc_get_type(conn->private, struct dcesrv_connection); + struct dcesrv_connection *dce_conn = talloc_get_type(conn->private_data, struct dcesrv_connection); DATA_BLOB tmp_blob; size_t nread; @@ -200,7 +200,7 @@ static void dcesrv_sock_recv(struct stream_connection *conn, uint16_t flags) static void dcesrv_sock_send(struct stream_connection *conn, uint16_t flags) { - struct dcesrv_connection *dce_conn = talloc_get_type(conn->private, struct dcesrv_connection); + struct dcesrv_connection *dce_conn = talloc_get_type(conn->private_data, struct dcesrv_connection); NTSTATUS status; status = dcesrv_output(dce_conn, conn->socket, dcerpc_write_fn); |