mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
SOCKS: truly disable it if CURL_DISABLE_PROXY is defined
Bug: http://curl.haxx.se/bug/view.cgi?id=3561305 Patch by: Marcel Raad
This commit is contained in:
parent
3a0b64489f
commit
2e7d2c8f74
@ -22,7 +22,7 @@
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#if !defined(CURL_DISABLE_PROXY) || defined(USE_WINDOWS_SSPI)
|
||||
#if !defined(CURL_DISABLE_PROXY)
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#ifdef USE_WINDOWS_SSPI
|
||||
#if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_PROXY)
|
||||
|
||||
#include "urldata.h"
|
||||
#include "sendf.h"
|
||||
|
Loading…
Reference in New Issue
Block a user