diff src/proxy.c @ 5426:8d8bf0d31a23

[gaim-migrate @ 5805] i'm cleaning out my tree 1. new tobase64 function that works better 2. new date/time stamp parsing stuff for jabber 3. other misc stuff, not deserving of specific mention committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 18 May 2003 05:45:18 +0000
parents 0bf1ced10b2b
children a2f26666de42
line wrap: on
line diff
--- a/src/proxy.c	Sun May 18 05:00:12 2003 +0000
+++ b/src/proxy.c	Sun May 18 05:45:18 2003 +0000
@@ -785,7 +785,7 @@
 	if (phb->gpi->proxyuser) {
 		char *t1, *t2;
 		t1 = g_strdup_printf("%s:%s", phb->gpi->proxyuser, phb->gpi->proxypass);
-		t2 = tobase64(t1);
+		t2 = tobase64(t1, -1);
 		g_free(t1);
 		g_return_if_fail(request_len < sizeof(request));
 		request_len += g_snprintf(request + request_len, sizeof(request) - request_len, "Proxy-Authorization: Basic %s\r\n", t2);