Mercurial > pidgin.yaz
comparison src/html.c @ 5681:46d7ad0dfa26
[gaim-migrate @ 6100]
Rewrote the proxy code. It should now work with the new prefs, and it has a
namespace and API too!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 03 Jun 2003 02:00:33 +0000 |
parents | e41b04bb4afe |
children | 059d95c67cda |
comparison
equal
deleted
inserted
replaced
5680:71cc0d5376c2 | 5681:46d7ad0dfa26 |
---|---|
312 gunk->data = data; | 312 gunk->data = data; |
313 gunk->url = g_strdup(url); | 313 gunk->url = g_strdup(url); |
314 gunk->website = parse_url(url); | 314 gunk->website = parse_url(url); |
315 gunk->full = full; | 315 gunk->full = full; |
316 | 316 |
317 if ((sock = proxy_connect(NULL, gunk->website->address, gunk->website->port, | 317 if ((sock = gaim_proxy_connect(NULL, gunk->website->address, |
318 grab_url_callback, gunk)) < 0) { | 318 gunk->website->port, grab_url_callback, |
319 gunk)) < 0) { | |
319 g_free(gunk->website); | 320 g_free(gunk->website); |
320 g_free(gunk->url); | 321 g_free(gunk->url); |
321 g_free(gunk); | 322 g_free(gunk); |
322 callback(data, g_strdup(_("g003: Error opening connection.\n")), 0); | 323 callback(data, g_strdup(_("g003: Error opening connection.\n")), 0); |
323 } | 324 } |