aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-27 11:46:13 +0200
committerStefan Boberg <[email protected]>2021-09-27 11:46:13 +0200
commit4d06a410a2281564e90e8c4e3890d79084ed12ef (patch)
tree6c57a5985810a8d43eb26efe698775cc60699337 /zenhttp/httpsys.cpp
parentCompile out ProcessMonitor's methods on non-Windows for now (diff)
downloadzen-4d06a410a2281564e90e8c4e3890d79084ed12ef.tar.xz
zen-4d06a410a2281564e90e8c4e3890d79084ed12ef.zip
Fixed httpsys Windows compilation error
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index deaf95d5a..997491613 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -553,7 +553,7 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode)
CancelThreadpoolIo(Iocp);
- ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}'", GetWindowsErrorAsString(SendResult), HttpReq->pRawUrl);
+ ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}'", GetErrorAsString(SendResult), HttpReq->pRawUrl);
ErrorCode = MakeErrorCode(SendResult);
}