mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:43:39 +03:00
parent
93b8be802a
commit
51f6a0dc1a
1 changed files with 1 additions and 1 deletions
|
|
@ -1360,8 +1360,8 @@ out:
|
|||
static void conn_set_primary_ip(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data)
|
||||
{
|
||||
struct cf_socket_ctx *ctx = cf->ctx;
|
||||
#ifdef HAVE_GETPEERNAME
|
||||
struct cf_socket_ctx *ctx = cf->ctx;
|
||||
if(!(data->conn->handler->protocol & CURLPROTO_TFTP)) {
|
||||
/* TFTP does not connect the endpoint: getpeername() failed with errno
|
||||
107: Transport endpoint is not connected */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue