aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-14 09:30:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-14 09:30:40 +0000
commit0a3065a2f25a27774319400fee294cf98d88a969 (patch)
tree698c7012296fcaa5bc79af8b37ff8a6600dd52f7
parentb98faaa8c0c5f2f8d0a1d4301be4b5d9950c98ee (diff)
Rename Curl_pretransfersec() to *_second_connect() since it does not just
do pretransfer stuff like Curl_pretransfer().
-rw-r--r--lib/transfer.c6
-rw-r--r--lib/transfer.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 5758dad47..97a085d54 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -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;
diff --git a/lib/transfer.h b/lib/transfer.h
index 6607b0915..4be9f3667 100644
--- a/lib/transfer.h
+++ b/lib/transfer.h
@@ -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);