We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec3c39 commit 12a511eCopy full SHA for 12a511e
cpr/response.cpp
@@ -42,6 +42,8 @@ Response::Response(std::shared_ptr<CurlHolder> curl, std::string&& p_text, std::
42
}
43
#endif
44
#if LIBCURL_VERSION_NUM >= 0x071500 // 7.21.0
45
+ // Ignored here since libcurl uses a long for this.
46
+ // NOLINTNEXTLINE(google-runtime-int)
47
long port = 0;
48
if (curl_easy_getinfo(curl_->handle, CURLINFO_PRIMARY_PORT, &port) == CURLE_OK) {
49
primary_port = port;
0 commit comments