]> granicus.if.org Git - curl/commitdiff
Rename Curl_pretransfersec() to *_second_connect() since it does not just
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2005 09:30:40 +0000 (09:30 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2005 09:30:40 +0000 (09:30 +0000)
do pretransfer stuff like Curl_pretransfer().

lib/transfer.c
lib/transfer.h

index 5758dad47373306e4559f69126738a150266ab7a..97a085d54fcbf73c79490d594b12095b220d16ca 100644 (file)
@@ -2136,7 +2136,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
 
     if(res == CURLE_OK) {
       if (data->set.source_url) /* 3rd party transfer */
-        res = Curl_pretransfersec(conn);
+        res = Curl_second_connect(conn);
       else
         conn->sec_conn = NULL;
     }
@@ -2250,10 +2250,10 @@ Curl_Transfer(struct connectdata *c_conn, /* connection data */
 }
 
 /*
- * Curl_pretransfersec() prepares the secondary connection (used for 3rd party
+ * Curl_second_connect() makes the secondary connection (used for 3rd party
  * FTP transfers).
  */
-CURLcode Curl_pretransfersec(struct connectdata *conn)
+CURLcode Curl_second_connect(struct connectdata *conn)
 {
   CURLcode status = CURLE_OK;
   struct SessionHandle *data = conn->data;
index 6607b0915ebf07d2f6c0b45bb0829b381312f2d7..4be9f3667f0cc3e970e59c4f854d5c89d4c000a0 100644 (file)
@@ -24,7 +24,7 @@
  ***************************************************************************/
 CURLcode Curl_perform(struct SessionHandle *data);
 CURLcode Curl_pretransfer(struct SessionHandle *data);
-CURLcode Curl_pretransfersec(struct connectdata *conn);
+CURLcode Curl_second_connect(struct connectdata *conn);
 CURLcode Curl_posttransfer(struct SessionHandle *data);
 CURLcode Curl_follow(struct SessionHandle *data, char *newurl, bool retry);
 CURLcode Curl_readwrite(struct connectdata *conn, bool *done);