mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-30 02:03:14 +03:00
[project @ 2003-06-02 01:09:50 by jmb]
Make proxy work svn path=/import/netsurf/; revision=150
This commit is contained in:
parent
d4f3c07ae2
commit
3ca51179c9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user