On Wednesday 18 April 2007 20:39, Hans Leidekker wrote:
> +static int resolver_initialised;

Shouldn't that be

static int resolver_initilised = 0;

here? I thought that in C, ints aren't initialized to 0 automatically.

> +/* call res_init() just once because of a bug in Mac OSX 10.4 */
> +static void initialise_resolver( void )
> +{
> +    if (!resolver_initialised)
> +    {
> +        res_init();
> +        resolver_initialised = 1;
> +    }
> +}

Cheers,
Kai

-- 
Kai Blin, <kai Dot blin At gmail Dot com>
WorldForge developer    http://www.worldforge.org/
Wine developer          http://wiki.winehq.org/KaiBlin/
--
Will code for cotton.

Attachment: pgpMjI4LtfBl7.pgp
Description: PGP signature



Reply via email to