Loading lib/connect.c +11 −14 Original line number Diff line number Diff line Loading @@ -244,10 +244,9 @@ static CURLcode bindlocal(struct connectdata *conn, if(h) was_iface = TRUE; } else { if(strlen(data->set.device)>1) { if(!was_iface) { /* * This was not an interface, resolve the name as a host name * or IP number Loading @@ -259,8 +258,6 @@ static CURLcode bindlocal(struct connectdata *conn, if(h) /* we know data->set.device is shorter than the myhost array */ strcpy(myhost, data->set.device); } } if(! *myhost) { Loading Loading
lib/connect.c +11 −14 Original line number Diff line number Diff line Loading @@ -244,10 +244,9 @@ static CURLcode bindlocal(struct connectdata *conn, if(h) was_iface = TRUE; } else { if(strlen(data->set.device)>1) { if(!was_iface) { /* * This was not an interface, resolve the name as a host name * or IP number Loading @@ -259,8 +258,6 @@ static CURLcode bindlocal(struct connectdata *conn, if(h) /* we know data->set.device is shorter than the myhost array */ strcpy(myhost, data->set.device); } } if(! *myhost) { Loading