Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add fmt as a dependency, make it build by pulling in upstream commit 831e2ee8e9cf08ea1ee9736cde8370f9d0312abc PR: 273875 Provided by: diizzy@
- Loading branch information
Daniel Engberg
authored and
Adriaan de Groot
committed
Sep 18, 2023
1 parent
12434f9
commit c75e880
Showing
4 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- lib/client.cpp.orig 2023-01-10 04:14:36 UTC | ||
+++ lib/client.cpp | ||
@@ -6,6 +6,7 @@ | ||
#include <thread> | ||
|
||
#include "coeurl/request.hpp" | ||
+#include "coeurl/errors.hpp" | ||
|
||
namespace coeurl { | ||
std::shared_ptr<spdlog::logger> Client::log = spdlog::null_logger_mt("coeurl_null"); | ||
@@ -352,7 +353,7 @@ void Client::remove_request(Request *r) { | ||
long http_code; | ||
curl_easy_getinfo(req->easy, CURLINFO_RESPONSE_CODE, &http_code); | ||
|
||
- Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, req->curl_error, req->error, http_code); | ||
+ Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, coeurl::to_string(req->curl_error), req->error, http_code); | ||
|
||
if (req->on_complete_) | ||
req->on_complete_(*req.get()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters