aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 11:39:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 11:39:21 +0000
commit99bc7e5fd36c75fd7a35eeec05cd4c5854d0d1a9 (patch)
tree2e1d707554046bb0e8290ab0fac47786302d86ae
parent0b1f7995c5296f53b577bbc73a55cb9acd85d33e (diff)
oops, the decode() function got its arguments reversed in my cleanup
operation!
-rw-r--r--lib/base64.c2
1 files changed, 1 insertions, 1 deletions
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;