int ret; /* this variable is unused on several platforms but used on some */
#define CURL_NAMELOOKUP_SIZE 9000
-
/* Allocate enough memory to hold the full name information structs and
* everything. OSF1 is known to require at least 8872 bytes. The buffer
* required for storing all possible aliases and IP numbers is according to
return NULL; /* major failure */
*bufp = buf;
+ ret = 0; /* to prevent the compiler warning */
+
if ( (in=inet_addr(hostname)) != INADDR_NONE ) {
struct in_addr *addrentry;