diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-12 02:00:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-12 02:00:49 +0000 |
commit | c42838fef393e5adf1aa518e01ad6d6a81fdacac (patch) | |
tree | 4159f03b7d7c3896b82b9ac86577327883c89771 /cgi.c | |
parent | 21233e404785a217f2bc0d3060f79f76911b9e1e (diff) | |
download | mandoc-c42838fef393e5adf1aa518e01ad6d6a81fdacac.tar.gz |
implement -C (alternative config file) for apropos(1) and mandocdb(8),
including various tweaks to the whatis(8) manual;
ok kristaps@
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -792,7 +792,7 @@ pg_show(const struct req *req, char *path) } memset(&ps, 0, sizeof(struct manpaths)); - manpath_manconf("etc/catman.conf", &ps); + manpath_manconf(&ps, "etc/catman.conf"); if (vol >= (unsigned int)ps.sz) { resp_error400(); @@ -878,7 +878,7 @@ pg_search(const struct req *req, char *path) } memset(&ps, 0, sizeof(struct manpaths)); - manpath_manconf("etc/catman.conf", &ps); + manpath_manconf(&ps, "etc/catman.conf"); /* * Poor man's tokenisation: just break apart by spaces. |