From bcd124f47089d2c25996f971dfb3852cb4bc573e Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 29 Jul 2018 12:46:31 +0000 Subject: [PATCH] remove extra space in output; from Ross L Richardson --- usr.sbin/acme-client/parse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/acme-client/parse.y b/usr.sbin/acme-client/parse.y index cff8a64cf5c..8125ea58e07 100644 --- a/usr.sbin/acme-client/parse.y +++ b/usr.sbin/acme-client/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.25 2018/07/11 07:39:22 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.26 2018/07/29 12:46:31 deraadt Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons @@ -998,14 +998,14 @@ print_config(struct acme_conf *xconf) printf("domain %s {\n", d->domain); TAILQ_FOREACH(ac, &d->altname_list, entry) { if (!f) - printf("\talternative names { "); + printf("\talternative names {"); if (ac->domain != NULL) { printf("%s%s", f ? ", " : " ", ac->domain); f = 1; } } if (f) - printf("}\n"); + printf(" }\n"); if (d->key != NULL) printf("\tdomain key \"%s\"\n", d->key); if (d->cert != NULL) -- 2.20.1