From b419905a35026a9d81e6039157ad6c2dcfe88ab1 Mon Sep 17 00:00:00 2001 From: benno Date: Mon, 30 Jul 2018 09:53:14 +0000 Subject: [PATCH] line too long and whitespace. From Ross L Richardson. --- usr.sbin/acme-client/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.sbin/acme-client/main.c b/usr.sbin/acme-client/main.c index 632e00250ef..57742037771 100644 --- a/usr.sbin/acme-client/main.c +++ b/usr.sbin/acme-client/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.37 2018/07/30 09:51:49 benno Exp $ */ +/* $Id: main.c,v 1.38 2018/07/30 09:53:14 benno Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons * @@ -127,7 +127,7 @@ main(int argc, char *argv[]) err(EXIT_FAILURE, "basename"); } - if(domain->chain != NULL) { + if (domain->chain != NULL) { if ((chainfile = basename(domain->chain)) != NULL) { if ((chainfile = strdup(chainfile)) == NULL) err(EXIT_FAILURE, "strdup"); @@ -135,7 +135,7 @@ main(int argc, char *argv[]) err(EXIT_FAILURE, "basename"); } - if(domain->fullchain != NULL) { + if (domain->fullchain != NULL) { if ((fullchainfile = basename(domain->fullchain)) != NULL) { if ((fullchainfile = strdup(fullchainfile)) == NULL) err(EXIT_FAILURE, "strdup"); @@ -185,7 +185,8 @@ main(int argc, char *argv[]) if (!(popts & ACME_OPT_NEWDKEY) && access(domain->key, R_OK) == -1) { warnx("%s: domain key file must exist", domain->key); ne++; - } else if ((popts & ACME_OPT_NEWDKEY) && access(domain->key, R_OK) != -1) { + } else if ((popts & ACME_OPT_NEWDKEY) && access(domain->key, R_OK) + != -1) { dodbg("%s: domain key exists (not creating)", domain->key); popts &= ~ACME_OPT_NEWDKEY; } -- 2.20.1