diff src/html.c @ 1092:a930439f29b1

[gaim-migrate @ 1102] fun fun committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 13 Nov 2000 04:29:41 +0000
parents 18a14e6dd0af
children b5783215b245
line wrap: on
line diff
--- a/src/html.c	Mon Nov 13 03:57:40 2000 +0000
+++ b/src/html.c	Mon Nov 13 04:29:41 2000 +0000
@@ -37,6 +37,7 @@
 #include <netinet/in.h>
 #include <fcntl.h>
 #include <errno.h>
+#include "proxy.h"
 
 gchar * strip_html(gchar * text)
 {
@@ -108,7 +109,6 @@
         int len;
 	int read_rv;
 	int datalen = 0;
-	struct in_addr *host;
 	char buf[256];
 	char data;
         int startsaving = 0;
@@ -118,10 +118,10 @@
 
 	if (user) {
 		if ((sock = proxy_connect(website.address, website.port, user->proto_opt[2],
-					user->proto_opt[3], atoi(user->proto_opt[4]))) < 0)
+					atoi(user->proto_opt[3]), atoi(user->proto_opt[4]))) < 0)
 			return g_strdup(_("g003: Error opening connection.\n"));
 	} else {
-		if ((sock = proxy_connect(website.address, website.port, NULL, NULL, -1)) < 0)
+		if ((sock = proxy_connect(website.address, website.port, NULL, 0, -1)) < 0)
 			return g_strdup(_("g003: Error opening connection.\n"));
 	}