Patrick Monnerat's cleanup fix after my alloc-strings commit

This commit is contained in:
Daniel Stenberg
2007-08-02 14:42:16 +00:00
parent 6f750f3b57
commit 188b08ca55
2 changed files with 5 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ static CURLcode bindlocal(struct connectdata *conn,
int in6 = -1;
/* First check if the given name is an IP address */
in=inet_addr(dev);
in=inet_addr((char *) dev);
if((in == CURL_INADDR_NONE) &&
Curl_if2ip(dev, myhost, sizeof(myhost))) {