aboutsummaryrefslogtreecommitdiff
path: root/lib/http_proxy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-06-12 00:10:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-12 16:00:27 +0200
commit5ae22272d1506e5c0e431f4ad60f1dc446f76715 (patch)
tree15a2b35f108675006b83af14e21253605076309a /lib/http_proxy.c
parent819f44dc07b0b60ea6f52478939dac4206b73146 (diff)
Curl_debug: remove dead printhost code
The struct field is never set (since 5e0d9aea3) so remove the use of it and remove the connectdata pointer from the prototype. Reported-by: Tejas Bug: https://curl.haxx.se/mail/lib-2018-06/0054.html Closes #2647
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r--lib/http_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index 0441ba6d8..ecc822704 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -419,7 +419,7 @@ static CURLcode CONNECT(struct connectdata *conn,
/* output debug if that is requested */
if(data->set.verbose)
Curl_debug(data, CURLINFO_HEADER_IN,
- s->line_start, (size_t)s->perline, conn);
+ s->line_start, (size_t)s->perline);
if(!data->set.suppress_connect_headers) {
/* send the header to the callback */