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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcurl/curl_wrap.h b/libcurl/curl_wrap.h
index bc924713..2c445771 100644
--- a/libcurl/curl_wrap.h
+++ b/libcurl/curl_wrap.h
@@ -138,8 +138,9 @@ std::wstring formatCurlStatusCode(CURLcode sc)
ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_HTTP3);
ZEN_CHECK_CASE_FOR_CONSTANT(CURL_LAST);
ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_QUIC_CONNECT_ERROR);
+ ZEN_CHECK_CASE_FOR_CONSTANT(CURLE_PROXY);
}
- static_assert(CURL_LAST == CURLE_QUIC_CONNECT_ERROR + 1);
+ static_assert(CURL_LAST == CURLE_PROXY + 1);
return replaceCpy<std::wstring>(L"Curl status %x", L"%x", numberTo<std::wstring>(static_cast<int>(sc)));
}
bgstack15