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/web_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/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 1c7449fb47..2a2bfbb13b 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -145,7 +145,7 @@ NTSTATUS http_parse_header(struct websrv_context *web, const char *line) static void websrv_recv(struct stream_connection *conn, uint16_t flags) { struct web_server_data *wdata; - struct websrv_context *web = talloc_get_type(conn->private, + struct websrv_context *web = talloc_get_type(conn->private_data, struct websrv_context); NTSTATUS status; uint8_t buf[1024]; @@ -220,7 +220,7 @@ failed: */ static void websrv_send(struct stream_connection *conn, uint16_t flags) { - struct websrv_context *web = talloc_get_type(conn->private, + struct websrv_context *web = talloc_get_type(conn->private_data, struct websrv_context); NTSTATUS status; size_t nsent; @@ -251,7 +251,7 @@ static void websrv_send(struct stream_connection *conn, uint16_t flags) */ static void websrv_accept(struct stream_connection *conn) { - struct task_server *task = talloc_get_type(conn->private, struct task_server); + struct task_server *task = talloc_get_type(conn->private_data, struct task_server); struct web_server_data *wdata = talloc_get_type(task->private_data, struct web_server_data); struct websrv_context *web; struct socket_context *tls_socket; @@ -261,7 +261,7 @@ static void websrv_accept(struct stream_connection *conn) web->task = task; web->conn = conn; - conn->private = web; + conn->private_data = web; talloc_set_destructor(web, websrv_destructor); event_add_timed(conn->event.ctx, web, |