1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

oops, the decode() function got its arguments reversed in my cleanup

operation!
This commit is contained in:
Daniel Stenberg 2004-02-23 11:39:21 +00:00
parent 0b1f7995c5
commit 99bc7e5fd3

View File

@ -76,7 +76,7 @@ static void decodeQuantum(unsigned char *dest, const char *src)
* Given a base64 string at src, decode it into the memory pointed to by
* dest. Returns the length of the decoded data.
*/
size_t Curl_base64_decode(char *dest, const char *src)
size_t Curl_base64_decode(const char *src, char *dest)
{
int length = 0;
int equalsTerm = 0;