From 9bafdc62b71ed49e3148c5ba5d1f3dab7e5479e9 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Tue, 21 Aug 2018 22:53:38 +0100 Subject: [PATCH] Tidy up file parsing code. --- src/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/option.c b/src/option.c index 0837d4d..8c818cc 100644 --- a/src/option.c +++ b/src/option.c @@ -4367,7 +4367,7 @@ static void read_file(char *file, FILE *f, int hard_opt) if (errmess) strcpy(daemon->namebuff, errmess); - if (errmess || !one_opt(option, arg, buff, _("error"), 0, hard_opt == LOPT_REV_SERV)) + if (errmess || !one_opt(option, arg, daemon->namebuff, _("error"), 0, hard_opt == LOPT_REV_SERV)) { sprintf(daemon->namebuff + strlen(daemon->namebuff), _(" at line %d of %s"), lineno, file); if (hard_opt != 0)