cURL / Mailing Lists / curl-library / Single Mail


Re: Win32 inet_pton fixes (Was: Re: curl-7.10.8-pre3)

From: Daniel Stenberg <>
Date: Thu, 9 Oct 2003 10:19:34 +0200 (CEST)

On Wed, 8 Oct 2003, codemastr wrote:

> The inet_pton4/6 uses u_char, MSVC doesn't have a u_char defined. Probably
> the easiest way to fix this, rather than adding a portability typedef type
> of thing, would just be to change inet_pton to use unsigned char.

Right, even if u_char is available as Gisle Vanem suggests I still believe
using a plain 'unsigned char' is better and more likely to work better on more

Thanks, your patch is committed.

 Daniel Stenberg -- curl: been grokking URLs since 1998
This email is sponsored by: Giveback Program. hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here:
Received on 2003-10-09