Browse Source

Merge pull request #323 from zenjy/openssl

Misc fixes
pull/326/head
orignal 9 years ago
parent
commit
06d4998d87
  1. 6
      Daemon.h
  2. 2
      HTTPServer.cpp

6
Daemon.h

@ -1,4 +1,6 @@
#pragma once #ifndef DAEMON_H__
#define DAEMON_H__
#include <string> #include <string>
#ifdef _WIN32 #ifdef _WIN32
@ -69,3 +71,5 @@ namespace i2p
#endif #endif
} }
} }
#endif // DAEMON_H__

2
HTTPServer.cpp

@ -580,7 +580,7 @@ namespace util
void HTTPConnection::ShowTunnels (std::stringstream& s) void HTTPConnection::ShowTunnels (std::stringstream& s)
{ {
s << "<b>Tunnels:</b><br>\r\n<br>\r\n"; s << "<b>Tunnels:</b><br>\r\n<br>\r\n";
s << "<b>Queue size:</b>" << i2p::tunnel::tunnels.GetQueueSize () << "<br>\r\n"; s << "<b>Queue size:</b> " << i2p::tunnel::tunnels.GetQueueSize () << "<br>\r\n";
for (auto it: i2p::tunnel::tunnels.GetOutboundTunnels ()) for (auto it: i2p::tunnel::tunnels.GetOutboundTunnels ())
{ {
it->Print (s); it->Print (s);

Loading…
Cancel
Save