summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-11-18 20:01:00 +0000
committerDan Winship <danw@src.gnome.org>2003-11-18 20:01:00 +0000
commit588629232270b34680ef453c2c13392c9ccdd3d5 (patch)
treef183ca36baa4f1e64ef61b0c00545e5516e05d73
parent2d3c4bd9ca14fec479415b4c6ec5a9c4c32bae9d (diff)
downloadlibsoup-588629232270b34680ef453c2c13392c9ccdd3d5.tar.gz
fix last fix
-rw-r--r--libsoup/soup-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c
index 82980bc8..e0938b6a 100644
--- a/libsoup/soup-misc.c
+++ b/libsoup/soup-misc.c
@@ -203,9 +203,9 @@ soup_base64_encode (const char *text, int len)
int state = 0, outlen;
unsigned int save = 0;
- out = g_malloc (inlen * 4 / 3 + 5);
+ out = g_malloc (len * 4 / 3 + 5);
outlen = soup_base64_encode_close (text,
- inlen,
+ len,
FALSE,
out,
&state,