diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-12-01 16:40:55 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-01 16:43:57 +0000 |
commit | ad3836448efbb73d45a7ab04849dbe51d198f4be (patch) | |
tree | 90c5d8dc5fa695586493fd3cc5d73fde59cbb3b8 /lib/base64.c | |
parent | f3ee587775c88a263a05fe7b5ee1c9380ff9f1a5 (diff) | |
download | curl-ad3836448efbb73d45a7ab04849dbe51d198f4be.tar.gz |
base64: Corrected typo from commit f3ee587775c88a
Diffstat (limited to 'lib/base64.c')
-rw-r--r-- | lib/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base64.c b/lib/base64.c index af01f3a69..a941cc73a 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -68,11 +68,11 @@ static size_t decodeQuantum(unsigned char *dest, const char *src) } } - if(padding < 2) + if(padding < 1) dest[2] = curlx_ultouc(x & 0xFFUL); x >>= 8; - if(padding < 1) + if(padding < 2) dest[1] = curlx_ultouc(x & 0xFFUL); x >>= 8; |