From: Steve Holme Date: Sun, 1 Dec 2013 16:40:55 +0000 (+0000) Subject: base64: Corrected typo from commit f3ee587775c88a X-Git-Tag: curl-7_34_0~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad3836448efbb73d45a7ab04849dbe51d198f4be;p=thirdparty%2Fcurl.git base64: Corrected typo from commit f3ee587775c88a --- diff --git a/lib/base64.c b/lib/base64.c index af01f3a69b..a941cc73a7 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;