diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:33:28 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:33:28 +0200 |
commit | 65a717130da9defdbbb57928744381f3a197112b (patch) | |
tree | 00cca228ba1c430b5635693e2f31eaaedb5eff41 | |
parent | 8267c5776673dcdb95fe65621b38b535919b6899 (diff) |
Abide by my own coding standards
-rw-r--r-- | b32.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -38,11 +38,10 @@ b32toa(char *dst, const char *src, size_t len) c = src[i + j]; vs[j] = ctov[(uint8_t)c]; if (vs[j] == 255) { - if (c == '=' && j >= 8 - pad) { + if (c == '=' && j >= 8 - pad) vs[j] = 0; - } else { + else return false; - } } } |