Patrick Monnerat's cleanup fix after my alloc-strings commit
This commit is contained in:
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user