parent
8b8d7acc6e
commit
f67d6a6888
@ -1605,10 +1605,6 @@ static CURLcode cf_udp_connect(struct Curl_cfilter *cf,
|
|||||||
result = cf_socket_open(cf, data);
|
result = cf_socket_open(cf, data);
|
||||||
if(result) {
|
if(result) {
|
||||||
DEBUGF(LOG_CF(data, cf, "cf_udp_connect(), open failed -> %d", result));
|
DEBUGF(LOG_CF(data, cf, "cf_udp_connect(), open failed -> %d", result));
|
||||||
if(ctx->sock != CURL_SOCKET_BAD) {
|
|
||||||
socket_close(data, cf->conn, TRUE, ctx->sock);
|
|
||||||
ctx->sock = CURL_SOCKET_BAD;
|
|
||||||
}
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user