cURL / Mailing Lists / curl-library / Single Mail


Re: Dowloading html code from a page

From: Dirk Manske <>
Date: Thu, 24 Feb 2011 13:41:20 +0100

On Thursday 24 February 2011 13:13:14 Krosh Ivanov wrote:
> I'm using libcurl to download the html code from pages and I wrote an
> example code ( for that, but I
> got a problem. When I put the app to access a page and then to download the
> code, the begin of the code only is downloaded. What looks wrong in the
> code?
Look at your write function and read the document or examples with
a write callback... Hint: you need to return the number of "written" bytes.

I'm wondering that your compiler does not complain about the missing
return statement.
List admin:
Received on 2011-02-24