aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit7a1980e1d955e7c1d9a474ed84c1c70e95d18bca (patch)
treedae67bd560946597e36bf386f0d686a872092e64
parentb515ea6c4c885e69aebc0e97046ef428a4c9903d (diff)
downloadmandoc-7a1980e1d955e7c1d9a474ed84c1c70e95d18bca.tar.gz
mandoc-7a1980e1d955e7c1d9a474ed84c1c70e95d18bca.tar.zst
mandoc-7a1980e1d955e7c1d9a474ed84c1c70e95d18bca.zip
Fix the HAVE_MANPATH case, got broken in rev. 1.23.
Patch from Steffen Nurpmeso <sdaoden at yandex dot com>, thanks.
-rw-r--r--manpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/manpath.c b/manpath.c
index e7451597..2bb83684 100644
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/* $Id: manpath.c,v 1.23 2015/03/27 17:37:25 schwarze Exp $ */
+/* $Id: manpath.c,v 1.24 2015/04/28 16:13:45 schwarze Exp $ */
/*
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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);