diff options
Diffstat (limited to 'source4/web_server/web_server.c')
-rw-r--r-- | source4/web_server/web_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 93d59cc47a..7596ca40fc 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -37,9 +37,8 @@ /* destroy a web connection */ -static int websrv_destructor(void *ptr) +static int websrv_destructor(struct websrv_context *web) { - struct websrv_context *web = talloc_get_type(ptr, struct websrv_context); if (web->output.fd != -1) { close(web->output.fd); } |