diff options
author | Mai M <mathew1800@gmail.com> | 2021-06-21 17:56:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 17:56:33 +0200 |
commit | 83ac715e760b89dde9b38bd2745f811cdfaa8fb6 (patch) | |
tree | c4f497847e41233d274a24c1e8999e0ba0dd19ce /src/web_service | |
parent | Merge pull request #6494 from lat9nq/mingw-fix-fastmem (diff) | |
parent | externals: httplib: replace custom httplib header with upstream as submodule. (diff) | |
download | yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.gz yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.bz2 yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.lz yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.xz yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.zst yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/web_service/web_backend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp index 67183e64c..e04f7dfc6 100644 --- a/src/web_service/web_backend.cpp +++ b/src/web_service/web_backend.cpp @@ -100,8 +100,9 @@ struct Client::Impl { request.body = data; httplib::Response response; + httplib::Error error; - if (!cli->send(request, response)) { + if (!cli->send(request, response, error)) { LOG_ERROR(WebService, "{} to {} returned null", method, host + path); return WebResult{WebResult::Code::LibError, "Null response", ""}; } |