summaryrefslogtreecommitdiff
path: root/www/bozohttpd/patches/patch-ae
blob: 325b62195b3b713befdad47e715545a2a0251525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ae,v 1.1 2002/04/23 11:24:00 zuntum Exp $

--- bozohttpd.c.orig	Sat Sep 22 12:10:00 2001
+++ bozohttpd.c
@@ -359,6 +359,7 @@
 		case 'c':
 #ifndef NO_CGIBIN_SUPPORT
 			cgibin = optarg;
+			debug((DEBUG_OBESE, "cgibin (cgi-bin directory) is %s", cgibin));
 			break;
 #else
 			error(1, "CGI is not enabled");
@@ -1734,7 +1735,7 @@
 	int savederrno;
 	
 	/* only log if the level is low enough */
-	if (level < dflag)
+	if (dflag < level)
 		return;
 
 	savederrno = errno;