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/winbind | |
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/winbind')
-rw-r--r-- | source4/winbind/wb_server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c index bf1f3f29ac..95be49d1e3 100644 --- a/source4/winbind/wb_server.c +++ b/source4/winbind/wb_server.c @@ -49,7 +49,7 @@ static void wbsrv_recv_error(void *private_data, NTSTATUS status) static void wbsrv_accept(struct stream_connection *conn) { - struct wbsrv_listen_socket *listen_socket = talloc_get_type(conn->private, + struct wbsrv_listen_socket *listen_socket = talloc_get_type(conn->private_data, struct wbsrv_listen_socket); struct wbsrv_connection *wbconn; @@ -61,7 +61,7 @@ static void wbsrv_accept(struct stream_connection *conn) wbconn->conn = conn; wbconn->listen_socket = listen_socket; wbconn->lp_ctx = listen_socket->service->task->lp_ctx; - conn->private = wbconn; + conn->private_data = wbconn; wbconn->packet = packet_init(wbconn); if (wbconn->packet == NULL) { @@ -83,7 +83,7 @@ static void wbsrv_accept(struct stream_connection *conn) */ static void wbsrv_recv(struct stream_connection *conn, uint16_t flags) { - struct wbsrv_connection *wbconn = talloc_get_type(conn->private, + struct wbsrv_connection *wbconn = talloc_get_type(conn->private_data, struct wbsrv_connection); packet_recv(wbconn->packet); @@ -94,7 +94,7 @@ static void wbsrv_recv(struct stream_connection *conn, uint16_t flags) */ static void wbsrv_send(struct stream_connection *conn, uint16_t flags) { - struct wbsrv_connection *wbconn = talloc_get_type(conn->private, + struct wbsrv_connection *wbconn = talloc_get_type(conn->private_data, struct wbsrv_connection); packet_queue_run(wbconn->packet); } |