comparison src/html.c @ 1843:4dbd8533d209

[gaim-migrate @ 1853] http can be authenticated committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 12 May 2001 08:09:54 +0000
parents 00aef397a1fe
children a02584b98823
comparison
equal deleted inserted replaced
1842:1d137dde946f 1843:4dbd8533d209
224 224
225 if (user) { 225 if (user) {
226 if ((sock = proxy_connect(gunk->website.address, gunk->website.port, 226 if ((sock = proxy_connect(gunk->website.address, gunk->website.port,
227 user->proto_opt[2], atoi(user->proto_opt[3]), 227 user->proto_opt[2], atoi(user->proto_opt[3]),
228 atoi(user->proto_opt[4]), 228 atoi(user->proto_opt[4]),
229 user->proto_opt[5], user->proto_opt[6],
229 grab_url_callback, gunk)) < 0) { 230 grab_url_callback, gunk)) < 0) {
230 g_free(gunk->url); 231 g_free(gunk->url);
231 g_free(gunk); 232 g_free(gunk);
232 callback(data, g_strdup(_("g003: Error opening connection.\n"))); 233 callback(data, g_strdup(_("g003: Error opening connection.\n")));
233 } 234 }
234 } else { 235 } else {
235 if ((sock = proxy_connect(gunk->website.address, gunk->website.port, NULL, 0, -1, 236 if ((sock = proxy_connect(gunk->website.address, gunk->website.port, NULL, 0, -1,
236 grab_url_callback, gunk)) < 0) { 237 NULL, NULL, grab_url_callback, gunk)) < 0) {
237 g_free(gunk->url); 238 g_free(gunk->url);
238 g_free(gunk); 239 g_free(gunk);
239 callback(data, g_strdup(_("g003: Error opening connection.\n"))); 240 callback(data, g_strdup(_("g003: Error opening connection.\n")));
240 } 241 }
241 } 242 }