Skip to content
Snippets Groups Projects
Commit ad383644 authored by Steve Holme's avatar Steve Holme
Browse files

base64: Corrected typo from commit f3ee5877

parent f3ee5877
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment