mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 15:50:48 -04:00
static functions are better not Curl_ prefixed to make their static
status more obvious
This commit is contained in:
parent
2ed524f07e
commit
818aed35e2
@ -514,8 +514,8 @@ CURLcode Curl_is_connected(struct connectdata *conn,
|
|||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Curl_setNoDelay(struct connectdata *conn,
|
static void tcpnodelay(struct connectdata *conn,
|
||||||
curl_socket_t sockfd)
|
curl_socket_t sockfd)
|
||||||
{
|
{
|
||||||
#ifdef TCP_NODELAY
|
#ifdef TCP_NODELAY
|
||||||
struct SessionHandle *data= conn->data;
|
struct SessionHandle *data= conn->data;
|
||||||
@ -648,7 +648,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||||||
infof(data, " Trying %s... ", addr_buf);
|
infof(data, " Trying %s... ", addr_buf);
|
||||||
|
|
||||||
if(data->set.tcp_nodelay)
|
if(data->set.tcp_nodelay)
|
||||||
Curl_setNoDelay(conn, sockfd);
|
tcpnodelay(conn, sockfd);
|
||||||
|
|
||||||
if(conn->data->set.device) {
|
if(conn->data->set.device) {
|
||||||
/* user selected to bind the outgoing socket to a specified "device"
|
/* user selected to bind the outgoing socket to a specified "device"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user