On Mon, 11 Jun 2018, Tejas wrote:
I feel that Curl_debug should not need the struct connectdata. It is only
using it to get "data->set.printhost && conn && conn->host.dispname" And
"data->set.printhost" is always 0.
The corresponding code to set it in lib/url.c seems to have been removed in
5e0d9aea3 ("Support for FTP third party transfers is now dropped",
2006-09-30)
Wow, nice catch! I've just filed this PR to clean it up:
https://github.com/curl/curl/pull/2647
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html