We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27269ab commit b375534Copy full SHA for b375534
cpr/session.cpp
@@ -471,7 +471,7 @@ void Session::SetBody(Body&& body) {
471
472
void Session::SetLowSpeed(const LowSpeed& low_speed) {
473
curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_LIMIT, static_cast<long>(low_speed.limit));
474
- curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_TIME, static_cast<long>(low_speed.time.count())); // cppcheck-suppress y2038-unsafe-call
+ curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_TIME, static_cast<long>(low_speed.time)); // cppcheck-suppress y2038-unsafe-call
475
}
476
477
void Session::SetVerifySsl(const VerifySsl& verify) {
0 commit comments