mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
base64: Corrected typo from commit f3ee587775c88a
This commit is contained in:
parent
f3ee587775
commit
ad3836448e
@ -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);
|
dest[2] = curlx_ultouc(x & 0xFFUL);
|
||||||
|
|
||||||
x >>= 8;
|
x >>= 8;
|
||||||
if(padding < 1)
|
if(padding < 2)
|
||||||
dest[1] = curlx_ultouc(x & 0xFFUL);
|
dest[1] = curlx_ultouc(x & 0xFFUL);
|
||||||
|
|
||||||
x >>= 8;
|
x >>= 8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user