cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: retreive messages [with PATCH]

From: raoul cridlig <rcridlig_at_yahoo.fr>
Date: Fri, 4 Jan 2002 15:05:38 +0100 (CET)

 --- Daniel Stenberg <daniel_at_haxx.se> a écrit : > On
Fri, 4 Jan 2002, raoul cridlig wrote:
>
> > Ok, it's a good idea. So i'll retreive job number
> with using
> > CURLOPT_HEADERFUNCTION and a headercallback
> function to retreive header
> > data from ftp lines.
>
> I believe the attached patch will make this come
> true.
>
Is that the way to get ftp lines ? :

curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION,
WriteMemoryCallback);
curl_easy_setopt(curl, CURLOPT_FILE, (void *)&chunk);

I get a coredump...

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr
Received on 2002-01-04