cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: curlopt_writefunction on error

From: Andy Shellam (Mailing Lists) <andy-lists_at_networkmail.eu>
Date: Mon, 16 Nov 2009 12:57:05 +0000

Hi again,

>
> I've got a weird problem using a function passed to curlopt_writefunction, using cURL library (easy interface) version 7.19.7 on a Redhat EL 5.4 system.

Ignore all of that. I don't know what made me think of it, but I suddenly realised after sending the last e-mail that my static method "OnDataRead" wasn't declared static in the class definition, even though I was passing it by a static reference to curl_setopt - wonder why the compiler let me get away with that?

I've declared that method static and tried it again and it's working fine.

Regards,
Andy

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-16

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET