diff options
| author | Martin Ridgers <[email protected]> | 2021-09-15 12:51:21 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-16 09:34:29 +0200 |
| commit | 814b2775763c60238b6c5721a843d7429750fe75 (patch) | |
| tree | 823eb3ff0f3ca1b9aa0022e6afb8754308c35b5b /zenhttp/httpsys.cpp | |
| parent | GetWindowsErrorAsString() -> GetErrorAsString() (diff) | |
| download | zen-814b2775763c60238b6c5721a843d7429750fe75.tar.xz zen-814b2775763c60238b6c5721a843d7429750fe75.zip | |
MakeWin32ErrorCode() -> MakeErrorCode()
Diffstat (limited to 'zenhttp/httpsys.cpp')
| -rw-r--r-- | zenhttp/httpsys.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp index 80e1b8ee9..533971c4c 100644 --- a/zenhttp/httpsys.cpp +++ b/zenhttp/httpsys.cpp @@ -556,7 +556,7 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode) ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: {}"sv, SendResult, HttpReq->pRawUrl); - ErrorCode = MakeWin32ErrorCode(SendResult); + ErrorCode = MakeErrorCode(SendResult); } else { @@ -1231,7 +1231,7 @@ InitialRequestHandler::IssueRequest(std::error_code& ErrorCode) // CleanupHttpIoRequest(pIoRequest); - ErrorCode = MakeWin32ErrorCode(HttpApiResult); + ErrorCode = MakeErrorCode(HttpApiResult); ZEN_ERROR("HttpReceiveHttpRequest failed, error {}", ErrorCode.message()); |