summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
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 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.