cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] Small bug in cURLpp 0.5.0

From: Peteris Krumins [Newsgroups] <pknewsgroups_at_gmail.com>
Date: Thu, 14 Jul 2005 17:58:02 +0300

Hello.

I was developing an app using cURLpp 0.5.0 and I noticed the following
bug in cURLpp.
It's a small bug so I did not make a patch, instead, just make changes
in your repository.

CURLOPT_COOKIESESSION and CURLOPT_HTTPGET take long values as parameters
instead of char *.

In Options.hpp, line 126

typedef cURLpp::OptionTrait< std::string, cURL::CURLOPT_COOKIESESSION >
CookieSession;
typedef cURLpp::OptionTrait< std::string, cURL::CURLOPT_HTTPGET > HttpGet;

Change to

typedef cURLpp::OptionTrait< bool, cURL::CURLOPT_COOKIESESSION >
CookieSession;
typedef cURLpp::OptionTrait< long, cURL::CURLOPT_HTTPGET > HttpGet;

P.Krumins

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2005-07-14

These mail archives are generated by hypermail.

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

File upload with ASP.NET