From: deraadt Date: Sun, 29 Jul 2018 12:46:31 +0000 (+0000) Subject: remove extra space in output; from Ross L Richardson X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bcd124f47089d2c25996f971dfb3852cb4bc573e;p=openbsd remove extra space in output; from Ross L Richardson --- 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)