summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/web_server.h2
-rw-r--r--source4/web_server/wsgi.c4
2 files changed, 3 insertions, 3 deletions
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;
}