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: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Mon, 16 Nov 2009 14:01:46 +0100

 
Andy Shellam wrote:

> I'm using libcurl as part of a C++ application ...

> Here's a GDB output at the point my write function is called:

> Breakpoint 1, aspire_platform::GoogleCheckoutClient::OnDataRead (
> this=0x80ee011, ptr=0x1, size=307, nmemb=11936960, stream=0x0)
> at
/opt/nmail32/aspire_backend/google_lib/src/GoogleCheckoutClient.cpp:236

The callback procedure should meet C requirements, and you are using a
class method. You probably have to declare it as "static" (it must not
have an implicit "this" argument).
-------------------------------------------------------------------
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