summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-14 13:36:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-14 13:36:59 +0000
commitaf829015a670ed16ae8c3490a982b5acbab4202a (patch)
treed9ec625a49489db324ccf23f1a134d4b54685285 /cgi.c
parent6414274387adaa820f390b2541fac6ff7d322fef (diff)
downloadmandoc-af829015a670ed16ae8c3490a982b5acbab4202a.tar.gz
Unbreak man.cgi's css directories when CSS_DIR isn't specified.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 8e84c7df..4709159f 100644
--- a/cgi.c
+++ b/cgi.c
@@ -946,7 +946,7 @@ main(void)
progname = "";
if (NULL == (css = getenv("CSS_DIR")))
- css = "/";
+ css = "";
if (NULL == (host = getenv("HTTP_HOST")))
host = "localhost";