Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: problem saving urlcode (string)

From: Daniel Stenberg <>
Date: Thu, 14 Apr 2005 14:04:58 +0200 (CEST)

On Thu, 14 Apr 2005, Arno Nühm wrote:

> Hi, thank you very much. i got it now. i only wonder why the console output
> worked like that:
> res = curl_easy_perform(curl);
> xmldata = res; // xmldata is a c++ string
> cout << xmldata;
> when res should only be a CURLcode type?

Because the default libcurl behaviour is to write the data to stdout.

  Commercial curl and libcurl Technical Support:
Received on 2005-04-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET