From c312dbaac1b88a2b2741226a64952210a89d52c6 Mon Sep 17 00:00:00 2001 From: zenjy Date: Sun, 17 Jan 2016 18:13:36 +0000 Subject: [PATCH 1/2] * Daemon.h: replace "#pragma once" with "#define" --- Daemon.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Daemon.h b/Daemon.h index 9af8c1bb..6252ffe4 100644 --- a/Daemon.h +++ b/Daemon.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef DAEMON_H__ +#define DAEMON_H__ + #include #ifdef _WIN32 @@ -69,3 +71,5 @@ namespace i2p #endif } } + +#endif // DAEMON_H__ From 02b566055ebc8d2a45158cd0d2ed44b4805eed3a Mon Sep 17 00:00:00 2001 From: zenjy Date: Sun, 17 Jan 2016 18:18:21 +0000 Subject: [PATCH 2/2] * HTTPServer.cpp: add space after "Queue size:" --- HTTPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPServer.cpp b/HTTPServer.cpp index bb3e2819..699fbde4 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -580,7 +580,7 @@ namespace util void HTTPConnection::ShowTunnels (std::stringstream& s) { s << "Tunnels:
\r\n
\r\n"; - s << "Queue size:" << i2p::tunnel::tunnels.GetQueueSize () << "
\r\n"; + s << "Queue size: " << i2p::tunnel::tunnels.GetQueueSize () << "
\r\n"; for (auto it: i2p::tunnel::tunnels.GetOutboundTunnels ()) { it->Print (s);