Subject: Re: ares_strerror???

Re: ares_strerror???

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-04-28

On Thu, 28 Apr 2005, julien thai wrote:

> 1) in file ares_fds.c.
> line FD_SET(server->udp_socket, read_fds);
> warning is "......\ares\ares_fds.c(37) : warning C4018: '==' :
> signed/unsigned mismatch"

Why does this warn?

> 2) in file
> status = ares_init(&channel);
> if (status !=0)
> {
> //fprintf(stderr, "ares_init: %s\n", ares_strerror(status));
> //return 1;
> MessageBox(_T("ares_strerror"),_T("ares_strerror"),MB_OK);
> }

What's the warning here and why? (I assume you meant the ahost.c file?)

-- 
   c-ares -- my preferred DNS asynch resolver library
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Thu Apr 28 13:29:10 2005