aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-23 09:08:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-23 09:08:03 +0000
commit818aed35e2f7c1602333c0b2ecc0444272966cc7 (patch)
tree51c0a19e9947501e9324c680072a75c472641017 /lib
parent2ed524f07ed8a42208be28c2407e104540ef01be (diff)
static functions are better not Curl_ prefixed to make their static
status more obvious
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 6d953cad3..5da4ac996 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -514,8 +514,8 @@ CURLcode Curl_is_connected(struct connectdata *conn,
return CURLE_OK;
}
-static void Curl_setNoDelay(struct connectdata *conn,
- curl_socket_t sockfd)
+static void tcpnodelay(struct connectdata *conn,
+ curl_socket_t sockfd)
{
#ifdef TCP_NODELAY
struct SessionHandle *data= conn->data;
@@ -648,7 +648,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
infof(data, " Trying %s... ", addr_buf);
if(data->set.tcp_nodelay)
- Curl_setNoDelay(conn, sockfd);
+ tcpnodelay(conn, sockfd);
if(conn->data->set.device) {
/* user selected to bind the outgoing socket to a specified "device"