diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 10:13:43 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:50 +0100 |
commit | 62c8f6b1a57e3f03965358e5b6c3e55eeb7aaa8b (patch) | |
tree | e5a0b153226e6eb09c62b9853cdaffaf940cbf23 /source4/web_server | |
parent | 5bca70a0c275f545433afad624b1e54adc27986d (diff) | |
download | samba-62c8f6b1a57e3f03965358e5b6c3e55eeb7aaa8b.tar.gz samba-62c8f6b1a57e3f03965358e5b6c3e55eeb7aaa8b.tar.bz2 samba-62c8f6b1a57e3f03965358e5b6c3e55eeb7aaa8b.zip |
s4:web_server: s/private/private_data
metze
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.h | 2 | ||||
-rw-r--r-- | source4/web_server/wsgi.c | 4 |
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; } |