]> granicus.if.org Git - curl/commitdiff
static functions are better not Curl_ prefixed to make their static pre-aifix
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Jun 2004 09:08:03 +0000 (09:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Jun 2004 09:08:03 +0000 (09:08 +0000)
status more obvious

lib/connect.c

index 6d953cad3a8752f66e2ebe998815289db4683822..5da4ac9961c7a07551927c59c98423cbb61fa254 100644 (file)
@@ -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"