From 7a1980e1d955e7c1d9a474ed84c1c70e95d18bca Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 28 Apr 2015 16:13:45 +0000 Subject: Fix the HAVE_MANPATH case, got broken in rev. 1.23. Patch from Steffen Nurpmeso , thanks. --- manpath.c | 4 ++-- 1 file 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 * Copyright (c) 2011 Kristaps Dzonsons @@ -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); -- cgit v1.2.3-56-ge451