mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Fix compilation from 2841 branch
This commit is contained in:
parent
e006aa5dfa
commit
616d85fdd8
@ -4139,7 +4139,7 @@ int
|
||||
get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type,
|
||||
const connection_t *conn)
|
||||
{
|
||||
or_options_t *options = get_options();
|
||||
const or_options_t *options = get_options();
|
||||
|
||||
if (options->HTTPSProxy) {
|
||||
tor_addr_copy(addr, &options->HTTPSProxyAddr);
|
||||
@ -4179,7 +4179,7 @@ get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type,
|
||||
static int
|
||||
get_proxy_type(void)
|
||||
{
|
||||
or_options_t *options = get_options();
|
||||
const or_options_t *options = get_options();
|
||||
|
||||
if (options->HTTPSProxy)
|
||||
return PROXY_CONNECT;
|
||||
|
Loading…
Reference in New Issue
Block a user