summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-28 16:13:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-28 16:13:45 +0000
commit45fb847f6e6ad5ace6f8302551749b3e24158d7d (patch)
tree7fc0aacd12cd6a9f71f295679bbc713da961fe93 /manpath.c
parent16ee2910b2d5d0fad6b303e92efff26c0543db03 (diff)
downloadmandoc-45fb847f6e6ad5ace6f8302551749b3e24158d7d.tar.gz
Fix the HAVE_MANPATH case, got broken in rev. 1.23.
Patch from Steffen Nurpmeso <sdaoden at yandex dot com>, thanks.
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index 8faf0c22..6b49c20a 100644
--- a/manpath.c
+++ b/manpath.c
@@ -78,7 +78,7 @@ manconf_parse(struct manconf *conf, const char *file,
if ( ! ferror(stream) && feof(stream) &&
bsz && '\n' == buf[bsz - 1]) {
buf[bsz - 1] = '\0';
- manpath_parseline(dirs, buf, 1);
+ manpath_parseline(&conf->manpath, buf, 1);
}
free(buf);