diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index 2ac636ce..f10bd1e2 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2013-2024, The PurpleI2P Project
+* Copyright (c) 2013-2025, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
@@ -132,7 +132,8 @@ namespace http {
static void ShowTunnelDetails (std::stringstream& s, enum i2p::tunnel::TunnelState eState, bool explr, int bytes)
{
- std::string state, stateText;
+ std::string state;
+ std::string_view stateText;
switch (eState)
{
case i2p::tunnel::eTunnelStateBuildReplyReceived :
@@ -146,7 +147,7 @@ namespace http {
}
if (stateText.empty ()) stateText = tr(state);
- s << " " << stateText << ((explr) ? " (" + tr("exploratory") + ")" : "") << ", ";
+ s << " " << stateText << ((explr) ? " (" + std::string(tr("exploratory")) + ")" : "") << ", "; // TODO:
ShowTraffic(s, bytes);
s << "\r\n";
}
@@ -213,7 +214,7 @@ namespace http {
"