From 96e0f18f7faf7bf590c311cd0b63725c64fb4800 Mon Sep 17 00:00:00 2001 From: Herman Date: Sat, 12 Jun 2021 07:59:13 +0300 Subject: Code refactor and minor fix (#1879) --- src/modules/m_httpd_stats.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 1e9f4ef4b..54f231e88 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -150,10 +150,11 @@ namespace Stats continue; for (LookupIter i = lookup->begin(); i != lookup->end(); ++i) { + XLine* e = i->second; data << "c_str() << "\">" - << Sanitize(i->second->Displayable()) << "" - << i->second->set_time << "" << i->second->duration - << "" << Sanitize(i->second->reason) + << Sanitize(e->Displayable()) << "" + << e->set_time << "" << e->duration + << "" << Sanitize(e->reason) << ""; } } -- cgit v1.3.1-10-gc9f91