curl-library
Re: STOR (nil)?
Date: Tue, 12 Nov 2002 10:50:08 +0100
I have solved the problem, I forgot to call "curl_easy_setopt(curl,
CURLOPT_QUOTE, NULL)" at some point (after asking if the file must be
uploaded).
Thank you very much to all of you.
Guido.
----- Original Message -----
From: "Guido Reina" <guidoreina_at_isdn-si.com>
To: <curl-library_at_lists.sourceforge.net>
Sent: Sunday, November 10, 2002 9:31 AM
Subject: Re: STOR (nil)?
> Hmm, maybe by setting headerlist to NULL? I do it sometimes, maybe I am
> passing a NULL pointer to curl_easy_perform.
>
> Thank you very much.
>
> Guido.
>
> ----- Original Message -----
> From: "Daniel Stenberg" <daniel_at_haxx.se>
> To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
> Sent: Friday, November 08, 2002 1:04 PM
> Subject: Re: STOR (nil)?
>
>
> > On Fri, 8 Nov 2002, Guido Reina wrote:
> >
> > > I would love to send all of you the program I am working on but, as my
> > > bosses are supposed to give it to some client, I cannot do that. I
have
> > > sent you a little fragment (like the core). Anyway, I will investigate
> the
> > > "\0".
> >
> > No, not "\0", a plain NULL.
> >
> > Curl uses its own printf() clone and if you pass a NULL pointer to a %s,
> that
> > '(nil)' output is what happens.
> >
> > --
> > Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: See the NEW Palm
> > Tungsten T handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-11-12