curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-30