diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2018-07-30 09:53:15 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2018-07-30 09:53:15 +0000 |
commit | 5b9fbbf0eaed91537c16a9513f9ab8a6ef25b0d9 (patch) | |
tree | f1781527efead47c778b0673a86e4b4d4a61463e | |
parent | 83b72504d9348dcb11b575fe23900650553fc4eb (diff) |
line too long and whitespace. From Ross L Richardson.
-rw-r--r-- | usr.sbin/acme-client/main.c | 9 |
1 files 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 <kristaps@bsd.lv> * @@ -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; } |