What steps will reproduce the problem?
1. in example04.cpp, add the following code at line 80
std::cout << "Content Length Download: "
<< curlpp::infos::ContentLengthDownload::get(request)
<< std::endl;
2. make
3. run example04
./example04 http://www.sunrisecorp.net/
Core dumped
What is the expected output? What do you see instead?
fill bug
What version of the product are you using? On what operating system?
0.7.3 Linux RHEL5.5
Please provide any additional information below.
Problem in src/curlpp/Info.cpp
template<>
void
InfoTypeConverter<double>::get(curlpp::Easy & handle,
CURLINFO info,
double & value)
{
std::cerr << "KKKKK info=" << info << std::endl;
//curl_off_t tmp;
double tmp; // for test
InfoGetter::get(handle, info, tmp);
value = (double)tmp;
}
Original issue reported on code.google.com by codingst...@gmail.com on 19 Oct 2010 at 6:46
Original issue reported on code.google.com by
codingst...@gmail.com
on 19 Oct 2010 at 6:46