cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP third party transfer (proxy) support.

From: Alexander Krasnostavsky <ALEXANDERKR_at_Amdocs.com>
Date: Thu, 10 Jun 2004 08:50:52 +0300

> > Just an oversight. You are right - they should go into
> > the CURL_DISABLE_HTTP section.

> I've now committed the lib-parts of your patch, with the
> minor fix previously mentioned.

One fix in lib/formdata.c: when CURL_DISABLE_HTTP, the
CURL_FORMADD_DISABLED is undefined because include of curl/curl.h is
missing. Below is the patch:

--- formdata.c_old Thu Jun 10 08:39:56 2004
+++ formdata.c Thu Jun 10 08:40:05 2004
@@ -100,6 +100,7 @@
  */

 #include "setup.h"
+#include <curl/curl.h>

 #ifndef CURL_DISABLE_HTTP

@@ -108,7 +109,6 @@
 #include <string.h>
 #include <stdarg.h>
 #include <time.h>
-#include <curl/curl.h>
 #include "formdata.h"
 #include "strequal.h"
 #include "memory.h"

> > I have found that libcurl.def is missing in curllib.dsp.

> Ah, thanks for this. I've now patched the generation of the
> file and it should hopefully do right in tomorrow's snapshot!

OK now.

Thanks,
Alexander

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-10