diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 10:21:51 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:59 +0100 |
commit | 1441e87e249190bd9fea72773b8fd014a05f9861 (patch) | |
tree | 95736ea5ac26b9ce016a92fd6f48b14b5e31c916 /source4/web_server | |
parent | 0ac7792e022107c352f5464f52563c4e885272dd (diff) | |
download | samba-1441e87e249190bd9fea72773b8fd014a05f9861.tar.gz samba-1441e87e249190bd9fea72773b8fd014a05f9861.tar.bz2 samba-1441e87e249190bd9fea72773b8fd014a05f9861.zip |
s4:service_task: s/private/private_data
metze
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 9d1d160ae7..1c7449fb47 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -202,7 +202,7 @@ static void websrv_recv(struct stream_connection *conn, uint16_t flags) destroy the stack variables being used by that rendering process when we handle the timeout. */ if (!talloc_reference(web->task, web)) goto failed; - wdata = talloc_get_type(web->task->private, struct web_server_data); + wdata = talloc_get_type(web->task->private_data, struct web_server_data); if (wdata == NULL) goto failed; wdata->http_process_input(wdata, web); talloc_unlink(web->task, web); @@ -252,7 +252,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 web_server_data *wdata = talloc_get_type(task->private, struct web_server_data); + struct web_server_data *wdata = talloc_get_type(task->private_data, struct web_server_data); struct websrv_context *web; struct socket_context *tls_socket; @@ -343,7 +343,7 @@ static void websrv_task_init(struct task_server *task) wdata = talloc_zero(task, struct web_server_data); if (wdata == NULL)goto failed; - task->private = wdata; + task->private_data = wdata; wdata->tls_params = tls_initialise(wdata, task->lp_ctx); if (wdata->tls_params == NULL) goto failed; |