[project @ 2003-06-02 01:09:50 by jmb]

Make proxy work

svn path=/import/netsurf/; revision=150
This commit is contained in:
John Mark Bell 2003-06-02 01:09:50 +00:00
parent d4f3c07ae2
commit 3ca51179c9

View File

@ -1,5 +1,5 @@
/**
* $Id: fetch.c,v 1.8 2003/06/01 23:02:56 monkeyson Exp $
* $Id: fetch.c,v 1.9 2003/06/02 01:09:50 jmb Exp $
*
* This module handles fetching of data from any url.
*
@ -184,7 +184,7 @@ struct fetch * fetch_start(char *url, char *referer,
{
code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXY, OPTIONS.http_proxy);
assert(code == CURLE_OK);
code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXYPORT, (long)OPTIONS.http_proxy);
code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXYPORT, (long)OPTIONS.http_port);
assert(code == CURLE_OK);
}