]> granicus.if.org Git - curl/commitdiff
oops, the decode() function got its arguments reversed in my cleanup
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2004 11:39:21 +0000 (11:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2004 11:39:21 +0000 (11:39 +0000)
operation!

lib/base64.c

index f41a942cbf79a21eeb7ad11beea38063cc00f83c..7ff8553f21ea3e24df9ba654a67857cfa61a60f2 100644 (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;