diff options
| author | 2021-06-21 11:56:33 -0400 | |
|---|---|---|
| committer | 2021-06-21 11:56:33 -0400 | |
| commit | 83ac715e760b89dde9b38bd2745f811cdfaa8fb6 (patch) | |
| tree | c4f497847e41233d274a24c1e8999e0ba0dd19ce /src/web_service/web_backend.cpp | |
| 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.gz yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.tar.xz yuzu-83ac715e760b89dde9b38bd2745f811cdfaa8fb6.zip | |
Merge pull request #6486 from CaptV0rt3x/httplib
externals: httplib: replace custom httplib header with upstream as submodule
Diffstat (limited to 'src/web_service/web_backend.cpp')
| -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 { | |||
| 100 | request.body = data; | 100 | request.body = data; |
| 101 | 101 | ||
| 102 | httplib::Response response; | 102 | httplib::Response response; |
| 103 | httplib::Error error; | ||
| 103 | 104 | ||
| 104 | if (!cli->send(request, response)) { | 105 | if (!cli->send(request, response, error)) { |
| 105 | LOG_ERROR(WebService, "{} to {} returned null", method, host + path); | 106 | LOG_ERROR(WebService, "{} to {} returned null", method, host + path); |
| 106 | return WebResult{WebResult::Code::LibError, "Null response", ""}; | 107 | return WebResult{WebResult::Code::LibError, "Null response", ""}; |
| 107 | } | 108 | } |