1
0
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:
Daniel Stenberg 2012-09-06 20:51:30 +02:00
parent 3a0b64489f
commit 2e7d2c8f74
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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"