Skip to content

Commit

Permalink
use shared_ptr for outbound tunnel build messages
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Jun 17, 2015
1 parent a7cd16c commit 98c91a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace tunnel
if (outboundTunnel)
outboundTunnel->SendTunnelDataMsg (GetNextIdentHash (), 0, msg);
else
i2p::transport::transports.SendMessage (GetNextIdentHash (), msg);
i2p::transport::transports.SendMessage (GetNextIdentHash (), ToSharedI2NPMessage (msg));
}

bool Tunnel::HandleTunnelBuildResponse (uint8_t * msg, size_t len)
Expand Down

0 comments on commit 98c91a0

Please sign in to comment.