Browse Source

fix typo

pull/1927/head
weko 2 years ago
parent
commit
d44be2fd73
  1. 2
      libi2pd/I2NPProtocol.cpp
  2. 2
      libi2pd/I2NPProtocol.h
  3. 2
      libi2pd/Tunnel.cpp

2
libi2pd/I2NPProtocol.cpp

@ -748,7 +748,7 @@ namespace i2p
return l; return l;
} }
void HandleTunnlBuildI2NPMessage (std::shared_ptr<I2NPMessage> msg) void HandleTunnelBuildI2NPMessage (std::shared_ptr<I2NPMessage> msg)
{ {
if (msg) if (msg)
{ {

2
libi2pd/I2NPProtocol.h

@ -295,7 +295,7 @@ namespace tunnel
std::shared_ptr<I2NPMessage> CreateTunnelGatewayMsg (uint32_t tunnelID, std::shared_ptr<I2NPMessage> msg); std::shared_ptr<I2NPMessage> CreateTunnelGatewayMsg (uint32_t tunnelID, std::shared_ptr<I2NPMessage> msg);
size_t GetI2NPMessageLength (const uint8_t * msg, size_t len); size_t GetI2NPMessageLength (const uint8_t * msg, size_t len);
void HandleTunnlBuildI2NPMessage (std::shared_ptr<I2NPMessage> msg); void HandleTunnelBuildI2NPMessage (std::shared_ptr<I2NPMessage> msg);
void HandleI2NPMessage (std::shared_ptr<I2NPMessage> msg); void HandleI2NPMessage (std::shared_ptr<I2NPMessage> msg);
class I2NPMessagesHandler class I2NPMessagesHandler

2
libi2pd/Tunnel.cpp

@ -516,7 +516,7 @@ namespace tunnel
case eI2NPShortTunnelBuildReply: case eI2NPShortTunnelBuildReply:
case eI2NPTunnelBuild: case eI2NPTunnelBuild:
case eI2NPTunnelBuildReply: case eI2NPTunnelBuildReply:
HandleTunnlBuildI2NPMessage (msg); HandleTunnelBuildI2NPMessage (msg);
break; break;
default: default:
LogPrint (eLogWarning, "Tunnel: Unexpected message type ", (int) typeID); LogPrint (eLogWarning, "Tunnel: Unexpected message type ", (int) typeID);

Loading…
Cancel
Save