Home
last modified time | relevance | path

Searched refs:portsock (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Dftp.c905 curl_socket_t portsock = CURL_SOCKET_BAD; in ftp_state_use_port() local
1087 if(Curl_socket_open(data, ai, NULL, conn->transport, &portsock)) { in ftp_state_use_port()
1113 if(bind(portsock, sa, sslen) ) { in ftp_state_use_port()
1154 if(getsockname(portsock, sa, &sslen)) { in ftp_state_use_port()
1163 if(listen(portsock, 1)) { in ftp_state_use_port()
1257 result = Curl_conn_tcp_listen_set(data, conn, SECONDARYSOCKET, &portsock); in ftp_state_use_port()
1260 portsock = CURL_SOCKET_BAD; /* now held in filter */ in ftp_state_use_port()
1267 if(portsock != CURL_SOCKET_BAD) in ftp_state_use_port()
1268 Curl_socket_close(data, conn, portsock); in ftp_state_use_port()
/third_party/curl/
DCHANGES9124 - ftp: fix 'portsock' variable was assigned the same value