Module Name:    src
Committed By:   mrg
Date:           Sun Jul 11 03:13:08 UTC 2010

Modified Files:
        src/libexec/httpd: bozohttpd.c

Log Message:
avoid an unused variable warning(error) for MKCRYPTO=no builds.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/libexec/httpd/bozohttpd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/httpd/bozohttpd.c
diff -u src/libexec/httpd/bozohttpd.c:1.21 src/libexec/httpd/bozohttpd.c:1.22
--- src/libexec/httpd/bozohttpd.c:1.21	Tue Jun 22 05:24:12 2010
+++ src/libexec/httpd/bozohttpd.c	Sun Jul 11 03:13:08 2010
@@ -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)

Reply via email to