base64: Corrected typo from commit f3ee587775

This commit is contained in:
Steve Holme 2013-12-01 16:40:55 +00:00
parent f3ee587775
commit ad3836448e
1 changed files with 2 additions and 2 deletions

View File

@ -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;