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: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Nov 2009 13:51:07 +0100 (CET)

On Mon, 16 Nov 2009, Andy Shellam (Mailing Lists) wrote:

> Breakpoint 1, aspire_platform::GoogleCheckoutClient::OnDataRead (
> this=0x80ee011, ptr=0x1, size=307, nmemb=11936960, stream=0x0)

The callback is a plain C function, there is no 'this' pointer passed to this
function so when you consume one argument for that, the following ones will be
completely messed up...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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