curl / Mailing Lists / curl-library / Single Mail


Re: [patch] Fix inconsistency between curl_write_callback and tool_header_cb/tool_write_cb

From: Daniel Stenberg <>
Date: Thu, 30 Mar 2017 15:02:33 +0200 (CEST)

On Wed, 29 Mar 2017, Hanno Böck wrote:

> The function tool_debug_cb doesn't match curl_debug_callback in curl.h
> (unsigned vs. signed char* for 3rd param).
> This is a bit messier to fix, as the function dump, called by
> curl_debug_callback, expects it to be unsigned, so we have to cast the
> pointer somewhere.

Thanks! I gave it a short look and I think you put the typecast on the most
suitable place so I just pushed the patch as you sent it.


Received on 2017-03-30