http-proxy: fix build with --disable-proxy or --disable-http

Reported-by: Dan Fandrich
This commit is contained in:
Daniel Stenberg 2017-06-15 23:57:31 +02:00
parent 7e8247c467
commit 0d39e5cc95
2 changed files with 9 additions and 1 deletions

View file

@ -677,5 +677,10 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
return result;
}
#else
void Curl_connect_free(struct Curl_easy *data)
{
(void)data;
}
#endif /* CURL_DISABLE_PROXY */