From ad3836448efbb73d45a7ab04849dbe51d198f4be Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 1 Dec 2013 16:40:55 +0000 Subject: [PATCH] base64: Corrected typo from commit f3ee587775c88a --- lib/base64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base64.c b/lib/base64.c index af01f3a..a941cc7 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; -- 2.7.4