Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler

warnings
This commit is contained in:
Daniel Stenberg 2004-04-26 12:02:33 +00:00
parent f128d904a5
commit 2370d4fa02
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,7 @@ void Curl_addrinfo_callback(void *arg,
/* This is a utility-function for ipv4-builds to create a hostent struct
from a numerical-only IP address */
Curl_addrinfo *Curl_ip2addr(unsigned long num, char *hostname);
Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname);
/* relocate a hostent struct */
void Curl_hostent_relocate(struct hostent *h, long offset);