diff options
| author | 2023-02-18 23:24:04 +0100 | |
|---|---|---|
| committer | 2023-02-21 20:55:37 +0100 | |
| commit | 83afc124759673af58435b8791dd357bf751642c (patch) | |
| tree | 69c862d2fea91b6fd4eec0eb79686fe74460a524 /src | |
| parent | Merge pull request #9834 from german77/reverted (diff) | |
| download | yuzu-83afc124759673af58435b8791dd357bf751642c.tar.gz yuzu-83afc124759673af58435b8791dd357bf751642c.tar.xz yuzu-83afc124759673af58435b8791dd357bf751642c.zip | |
externals: Update cpp-httplib to latest
Diffstat (limited to 'src')
| -rw-r--r-- | src/web_service/web_backend.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/discord_impl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp index 12a7e4922..dff380cca 100644 --- a/src/web_service/web_backend.cpp +++ b/src/web_service/web_backend.cpp | |||
| @@ -71,7 +71,7 @@ struct Client::Impl { | |||
| 71 | const std::string& jwt_ = "", const std::string& username_ = "", | 71 | const std::string& jwt_ = "", const std::string& username_ = "", |
| 72 | const std::string& token_ = "") { | 72 | const std::string& token_ = "") { |
| 73 | if (cli == nullptr) { | 73 | if (cli == nullptr) { |
| 74 | cli = std::make_unique<httplib::Client>(host.c_str()); | 74 | cli = std::make_unique<httplib::Client>(host); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | if (!cli->is_valid()) { | 77 | if (!cli->is_valid()) { |
diff --git a/src/yuzu/discord_impl.cpp b/src/yuzu/discord_impl.cpp index de0c307d4..978ffef33 100644 --- a/src/yuzu/discord_impl.cpp +++ b/src/yuzu/discord_impl.cpp | |||
| @@ -76,7 +76,7 @@ void DiscordImpl::Update() { | |||
| 76 | // New Check for game cover | 76 | // New Check for game cover |
| 77 | httplib::Client cli(game_cover_url); | 77 | httplib::Client cli(game_cover_url); |
| 78 | 78 | ||
| 79 | if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name).c_str())) { | 79 | if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) { |
| 80 | if (res->status == 200) { | 80 | if (res->status == 200) { |
| 81 | game_cover_url += fmt::format("/images/game/boxart/{}.png", icon_name); | 81 | game_cover_url += fmt::format("/images/game/boxart/{}.png", icon_name); |
| 82 | } else { | 82 | } else { |