From 0ee93068bb45004c5430496b2c14057633d33eae Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 27 Nov 2022 21:59:45 -0600 Subject: [PATCH] fix: TR_TORRENT_LABELS env var in scripts (#4260) --- libtransmission/torrent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/torrent.cc b/libtransmission/torrent.cc index 4f8578da8..2cff1c047 100644 --- a/libtransmission/torrent.cc +++ b/libtransmission/torrent.cc @@ -1593,7 +1593,7 @@ static std::string buildLabelsString(tr_torrent const* tor) for (auto it = std::begin(tor->labels), end = std::end(tor->labels); it != end;) { - buf << *it; + buf << tr_quark_get_string_view(*it); if (++it != end) {