aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit244a2a6ed51d4786cc32c2834a252337127878e2 (patch)
treee735e71cebbea28f869e90c9ae0f9d08e1c702f1 /cgi.c
parenta9b4d897f5d0fcc7ff669cb8cdc6e89b6aeae658 (diff)
downloadmandoc-244a2a6ed51d4786cc32c2834a252337127878e2.tar.gz
mandoc-244a2a6ed51d4786cc32c2834a252337127878e2.tar.zst
mandoc-244a2a6ed51d4786cc32c2834a252337127878e2.zip
Unbreak man.cgi's css directories when CSS_DIR isn't specified.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 30075489..c203c671 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.30 2011/12/12 02:00:49 schwarze Exp $ */
+/* $Id: cgi.c,v 1.31 2011/12/14 13:36:59 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -946,7 +946,7 @@ main(void)
progname = "";
if (NULL == (css = getenv("CSS_DIR")))
- css = "/";
+ css = "";
if (NULL == (host = getenv("HTTP_HOST")))
host = "localhost";