From 62c8f6b1a57e3f03965358e5b6c3e55eeb7aaa8b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 Feb 2009 10:13:43 +0100 Subject: s4:web_server: s/private/private_data metze --- source4/web_server/web_server.h | 2 +- source4/web_server/wsgi.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/web_server') diff --git a/source4/web_server/web_server.h b/source4/web_server/web_server.h index f91c766494..3b02feaf7d 100644 --- a/source4/web_server/web_server.h +++ b/source4/web_server/web_server.h @@ -25,7 +25,7 @@ struct web_server_data { struct tls_params *tls_params; void (*http_process_input)(struct web_server_data *wdata, struct websrv_context *web); - void *private; + void *private_data; }; struct http_header { diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c index 53ba2a2d9b..4d6b441f17 100644 --- a/source4/web_server/wsgi.c +++ b/source4/web_server/wsgi.c @@ -323,7 +323,7 @@ static void wsgi_process_http_input(struct web_server_data *wdata, struct websrv_context *web) { PyObject *py_environ, *result, *item, *iter; - PyObject *request_handler = wdata->private; + PyObject *request_handler = (PyObject *)wdata->private_data; struct socket_address *socket_address; web_request_Object *py_web = PyObject_New(web_request_Object, &web_request_Type); @@ -386,6 +386,6 @@ bool wsgi_initialize(struct web_server_data *wdata) DEBUG(0, ("Unable to find SWAT\n")); return false; } - wdata->private = py_swat; + wdata->private_data = py_swat; return true; } -- cgit