From c42838fef393e5adf1aa518e01ad6d6a81fdacac Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 12 Dec 2011 02:00:49 +0000 Subject: implement -C (alternative config file) for apropos(1) and mandocdb(8), including various tweaks to the whatis(8) manual; ok kristaps@ --- cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index e81ee815..8e84c7df 100644 --- a/cgi.c +++ b/cgi.c @@ -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. -- cgit