summaryrefslogtreecommitdiff
path: root/libcurl/curl_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcurl/curl_wrap.h')
-rw-r--r--libcurl/curl_wrap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcurl/curl_wrap.h b/libcurl/curl_wrap.h
index dca056fc..40694e71 100644
--- a/libcurl/curl_wrap.h
+++ b/libcurl/curl_wrap.h
@@ -137,10 +137,11 @@ std::wstring formatCurlStatusCode(CURLcode sc)
ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_AUTH_ERROR);
ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_HTTP3);
ZEN_CHECK_CASE_FOR_CONSTANT(CURL_LAST);
+ ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_QUIC_CONNECT_ERROR);
}
- static_assert(CURL_LAST == CURLE_HTTP3 + 1);
+ static_assert(CURL_LAST == CURLE_QUIC_CONNECT_ERROR + 1);
- return replaceCpy<std::wstring>(L"Curl status %x.", L"%x", numberTo<std::wstring>(static_cast<int>(sc)));
+ return replaceCpy<std::wstring>(L"Curl status %x", L"%x", numberTo<std::wstring>(static_cast<int>(sc)));
}
bgstack15