diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index afca493d..17ec494a 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -462,6 +462,7 @@ namespace http { [&s, &counter](const i2p::data::IdentHash dest, std::shared_ptr leaseSet) { // create copy of lease set so we extract leases + int storeType = leaseSet->GetStoreType (); i2p::data::LeaseSet ls(leaseSet->GetBuffer(), leaseSet->GetBufferLen()); s << "
!! Invalid !!
\r\n"; s << "
\r\n"; s << "\r\n

\r\n"; - s << "Store type: " << (int)ls.GetStoreType () << "
\r\n"; + s << "Store type: " << storeType << "
\r\n"; s << "Expires: " << ConvertTime(ls.GetExpirationTime()) << "
\r\n"; auto leases = ls.GetNonExpiredLeases(); s << "Non Expired Leases: " << leases.size() << "
\r\n";