curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: realloc: use Curl_saferealloc to avoid common mistakes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Nov 2016 08:05:11 +0100 (CET)

On Tue, 8 Nov 2016, Kamil Dudka wrote:

>> Comments or thoughts on this?
>
> Is it intentional that the documentation of Curl_saferealloc() uses
> different identifiers for parameters than the actual implementation of that
> function?

Sorry, no. That was just a result of me first writing the top comment and then
using the proto from the realloc man page! =) Will align them before merge.

Thanks!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-09