aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index b08e39a8a..26bba5484 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -558,7 +558,7 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode)
HttpReq->pRawUrl,
HttpReq->RequestId);
- ErrorCode = MakeWin32ErrorCode(SendResult);
+ ErrorCode = MakeErrorCode(SendResult);
}
else
{
@@ -1251,7 +1251,7 @@ InitialRequestHandler::IssueRequest(std::error_code& ErrorCode)
// CleanupHttpIoRequest(pIoRequest);
- ErrorCode = MakeWin32ErrorCode(HttpApiResult);
+ ErrorCode = MakeErrorCode(HttpApiResult);
ZEN_ERROR("HttpReceiveHttpRequest failed, error {}", ErrorCode.message());