cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: [PATCH] check ip callback

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 2 Oct 2007 23:23:09 +0200 (CEST)

On Tue, 2 Oct 2007, Alexey Pesternikov wrote:

>> When is a plain sizeof(struct Curl_sockaddr_storage) not enough?
>>
> Curl_sockaddr_storage, which is basically sockaddr_storage has a space for a
> largest possible struct sockaddr only. We should add some space for the
> other fields we are using.

Oh. Yes indeed, I was just blind enough to not read the code properly.
Thanks!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-10-02