cURL / Mailing Lists / curl-library / Single Mail


RE: FTP third party transfer (proxy) support.

From: Alexander Krasnostavsky <>
Date: Wed, 16 Jun 2004 10:58:30 +0300

Hi Daniel,

A small fix of bug in my code in lib/transfer.c:

--- transfer.c_old Wed Jun 16 09:55:20 2004
+++ transfer.c Wed Jun 16 09:57:08 2004
@@ -2158,7 +2158,9 @@

   /* secondary connection */
   status = Curl_connect_host(data, &sec_conn);
- sec_conn->data = data;
+ if (status == CURLE_OK) {
+ sec_conn->data = data;
+ }
   conn->sec_conn = sec_conn;

   return status;

I forgot to check Curl_connect_host() status.


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
Received on 2004-06-16