comparison src/html.c @ 4634:d19872836812

[gaim-migrate @ 4941] This will let you set up different proxy settings for different accounts. Mainly useful to the corporate users that need to connect to an internal jabber server, and still want to connect to "external" stuff through a proxy, or something along those lines. I'm sure someone will come up with another use for it. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 02 Mar 2003 18:48:02 +0000
parents fdc4ac6d1db1
children c4ebe1a8484b
comparison
equal deleted inserted replaced
4633:812148fb2e2f 4634:d19872836812
307 gunk->data = data; 307 gunk->data = data;
308 gunk->url = g_strdup(url); 308 gunk->url = g_strdup(url);
309 gunk->website = parse_url(url); 309 gunk->website = parse_url(url);
310 gunk->full = full; 310 gunk->full = full;
311 311
312 if ((sock = proxy_connect(gunk->website->address, gunk->website->port, 312 if ((sock = proxy_connect(NULL, gunk->website->address, gunk->website->port,
313 grab_url_callback, gunk)) < 0) { 313 grab_url_callback, gunk)) < 0) {
314 g_free(gunk->website); 314 g_free(gunk->website);
315 g_free(gunk->url); 315 g_free(gunk->url);
316 g_free(gunk); 316 g_free(gunk);
317 callback(data, g_strdup(_("g003: Error opening connection.\n")), 0); 317 callback(data, g_strdup(_("g003: Error opening connection.\n")), 0);