Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd avoid an unused variable warning(error) for MK...
details: https://anonhg.NetBSD.org/src/rev/e36eaca19473
branches: trunk
changeset: 756291:e36eaca19473
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 11 03:13:08 2010 +0000
description:
avoid an unused variable warning(error) for MKCRYPTO=no builds.
diffstat:
libexec/httpd/bozohttpd.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r df8b8bf0c39d -r e36eaca19473 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Sun Jul 11 00:47:36 2010 +0000
+++ b/libexec/httpd/bozohttpd.c Sun Jul 11 03:13:08 2010 +0000
@@ -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 @@
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)
Home |
Main Index |
Thread Index |
Old Index