mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
Patrick Monnerat's cleanup fix after my alloc-strings commit
This commit is contained in:
parent
6f750f3b57
commit
188b08ca55
2 changed files with 5 additions and 5 deletions
|
|
@ -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))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue