src/html.c

changeset 4634
c4318fc60090
parent 4503
2d92398b6816
child 4757
bca72d722ec0
equal deleted inserted replaced
4633:7966149b2603 4634:c4318fc60090
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);

mercurial