summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2010-07-11 03:13:08 +0000
committermrg <mrg@NetBSD.org>2010-07-11 03:13:08 +0000
commitee1ac2b96dce9650322e986e9e9a5e345eac55cd (patch)
tree15cc75150c8695f7c85a702521bfe1a117337774 /libexec/httpd
parent657f45034934a20f7e5cc9ba23b159266b6ab524 (diff)
avoid an unused variable warning(error) for MKCRYPTO=no builds.
Diffstat (limited to 'libexec/httpd')
-rw-r--r--libexec/httpd/bozohttpd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/httpd/bozohttpd.c b/libexec/httpd/bozohttpd.c
index b9cbf0454d4..74398c433bb 100644
--- a/libexec/httpd/bozohttpd.c
+++ b/libexec/httpd/bozohttpd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.c,v 1.21 2010/06/22 05:24:12 mrg Exp $ */
+/* $NetBSD: bozohttpd.c,v 1.22 2010/07/11 03:13:08 mrg Exp $ */
/* $eterna: bozohttpd.c,v 1.174 2010/06/21 06:47:23 mrg Exp $ */
@@ -329,13 +329,12 @@ void
bozo_clean_request(bozo_httpreq_t *request)
{
struct bozoheaders *hdr, *ohdr = NULL;
- bozohttpd_t *httpd = request->hr_httpd;
if (request == NULL)
return;
/* If SSL enabled cleanup SSL structure. */
- bozo_ssl_destroy(httpd);
+ bozo_ssl_destroy(request->hr_httpd);
/* clean up request */
#define MF(x) if (request->x) free(request->x)