diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-03-11 13:28:27 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-03-11 13:45:58 +0100 |
commit | 3bb346d5937079c3dcbc75d113f81d1f80ee28ef (patch) | |
tree | 0ad4616c15086180632d816edd463ceb2fc47b6c /winsup/cygwin/libc | |
parent | d2ef2331f9ec4cc6510cab5cd540bb3c3c863ca8 (diff) | |
download | newlib-3bb346d5937079c3dcbc75d113f81d1f80ee28ef.zip newlib-3bb346d5937079c3dcbc75d113f81d1f80ee28ef.tar.gz newlib-3bb346d5937079c3dcbc75d113f81d1f80ee28ef.tar.bz2 |
Cygwin: fix formatting: collapse whitespace-only lines
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/libc')
-rw-r--r-- | winsup/cygwin/libc/base64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/libc/base64.c b/winsup/cygwin/libc/base64.c index 5ecf329..7c4046b 100644 --- a/winsup/cygwin/libc/base64.c +++ b/winsup/cygwin/libc/base64.c @@ -114,7 +114,7 @@ static const char Pad64 = '='; Since all base64 input is an integral number of octets, only the ------------------------------------------------- following cases can arise: - + (1) the final quantum of encoding input is an integral multiple of 24 bits; here, the final unit of encoded output will be an integral multiple of 4 characters @@ -158,14 +158,14 @@ b64_ntop(unsigned char const *src, size_t srclength, char *target, target[datalength++] = Base64[output[2]]; target[datalength++] = Base64[output[3]]; } - + /* Now we worry about padding. */ if (0 != srclength) { /* Get what's left. */ input[0] = input[1] = input[2] = '\0'; for (i = 0; i < srclength; i++) input[i] = *src++; - + output[0] = input[0] >> 2; output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); |