diff options
author | Yang Tse <yangsita@gmail.com> | 2012-03-22 17:27:14 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-03-22 17:27:14 +0100 |
commit | fe93b0a8740f6d105c94c2aee0d2613aacbb5e4d (patch) | |
tree | 26bc5786baae4ad5d5776548ac0097ceedf7ae33 | |
parent | e8a32438c24f2e67944666ff22dbbba829ccaf2a (diff) |
http_proxy.h: fix builds with proxy or http disabled
-rw-r--r-- | lib/http_proxy.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/http_proxy.h b/lib/http_proxy.h index 197996f9e..518c09383 100644 --- a/lib/http_proxy.h +++ b/lib/http_proxy.h @@ -22,8 +22,6 @@ * ***************************************************************************/ -CURLcode Curl_proxy_connect(struct connectdata *conn); - #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) /* ftp can use this as well */ CURLcode Curl_proxyCONNECT(struct connectdata *conn, @@ -33,8 +31,11 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn, /* Default proxy timeout in milliseconds */ #define PROXY_TIMEOUT (3600*1000) +CURLcode Curl_proxy_connect(struct connectdata *conn); + #else #define Curl_proxyCONNECT(x,y,z,w) CURLE_NOT_BUILT_IN +#define Curl_proxy_connect(x) CURLE_OK #endif #endif /* HEADER_CURL_HTTP_PROXY_H */ |