From 99bc7e5fd36c75fd7a35eeec05cd4c5854d0d1a9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Feb 2004 11:39:21 +0000 Subject: oops, the decode() function got its arguments reversed in my cleanup operation! --- lib/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base64.c b/lib/base64.c index f41a942cb..7ff8553f2 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -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; -- cgit v1.2.3