summaryrefslogtreecommitdiff
path: root/src/web_service/web_backend.cpp
diff options
context:
space:
mode:
authorGravatar Vortex2021-06-19 00:18:53 +0530
committerGravatar Vortex2021-06-19 02:18:58 +0530
commite704da91929b06e5d65959c78e88e570d707a773 (patch)
tree1af9218fd2b480ce68f14fa12a4f1415ca1a82c4 /src/web_service/web_backend.cpp
parentMerge pull request #6484 from CaptV0rt3x/discord-rpc (diff)
downloadyuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.gz
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.xz
yuzu-e704da91929b06e5d65959c78e88e570d707a773.zip
externals: httplib: replace custom httplib header with upstream as submodule.
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
Diffstat (limited to '')
-rw-r--r--src/web_service/web_backend.cpp3
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 }