mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Port reorganized as a metaport. Each component can be installed separately or selected as an option via the metaport. Components were moved to net-p2p/transmission-components. See MOVED for additional information. Also fixes log-level typo in rc file and description errors PR: 273841, 274054 274065 Reported by: Anton Saietskii <vsasjason@gmail.com> Reported by: Matt <lazeraman@gmail.com> Reported by: Benjamin Takacs <nimaje+fbz@bureaucracy.de> Differential Revision: https://reviews.freebsd.org/D41975
11 lines
600 B
C++
11 lines
600 B
C++
--- libtransmission/variant-json.cc.orig 2023-09-19 12:15:17 UTC
|
|
+++ libtransmission/variant-json.cc
|
|
@@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error,
|
|
fmt::arg("position", jsn->pos),
|
|
fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
|
|
fmt::arg("error", jsonsl_strerror(error)),
|
|
- fmt::arg("error_code", error)));
|
|
+ fmt::arg("error_code", static_cast<int>(error))));
|
|
}
|
|
|
|
int error_callback(jsonsl_t jsn, jsonsl_error_t error, struct jsonsl_state_st* state, jsonsl_char_t* at)
|