diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-28 16:13:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-28 16:13:45 +0000 |
commit | 7a1980e1d955e7c1d9a474ed84c1c70e95d18bca (patch) | |
tree | dae67bd560946597e36bf386f0d686a872092e64 | |
parent | b515ea6c4c885e69aebc0e97046ef428a4c9903d (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |