curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: print curl_easy_setopt in debug function

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Jun 2018 00:13:44 +0200 (CEST)

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
Received on 2018-06-12