diff options
author | 2017-01-24 13:13:41 +0000 | |
---|---|---|
committer | 2017-01-24 13:13:41 +0000 | |
commit | cea463a1b618600aeab5453528508eb3dc798a70 (patch) | |
tree | 656c8d2946b4e548c4989a79af7987ed0a7cdec3 | |
parent | Complete jsing's coccinelle cleanup... by hand (diff) | |
download | wireguard-openbsd-cea463a1b618600aeab5453528508eb3dc798a70.tar.xz wireguard-openbsd-cea463a1b618600aeab5453528508eb3dc798a70.zip |
nuke extra brackets. discussed with jsing
-rw-r--r-- | usr.sbin/acme-client/base64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/acme-client/base64.c b/usr.sbin/acme-client/base64.c index a2b2a027b4f..cfcf85adc46 100644 --- a/usr.sbin/acme-client/base64.c +++ b/usr.sbin/acme-client/base64.c @@ -1,4 +1,4 @@ -/* $Id: base64.c,v 1.7 2017/01/24 12:05:14 jsing Exp $ */ +/* $Id: base64.c,v 1.8 2017/01/24 13:13:41 tb Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -30,7 +30,7 @@ size_t base64len(size_t len) { - return (((len + 2) / 3 * 4) + 1); + return (len + 2) / 3 * 4 + 1; } /* @@ -63,5 +63,5 @@ base64buf_url(const char *data, size_t len) break; } - return (buf); + return buf; } |