revert back to for loop for simplicity

pull/1272/head
Jeff Becker 4 years ago
parent acecb23eb3
commit 44c790b65c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -620,9 +620,8 @@ namespace llarp
void
Session::HandlePlaintext(CryptoQueue_ptr msgs)
{
for (auto itr = msgs->begin(), end = msgs->end(); itr != end; itr++)
for (auto& result : *msgs)
{
Packet_t result = *itr;
LogDebug("Command ", int(result[PacketOverhead + 1]));
switch (result[PacketOverhead + 1])
{

Loading…
Cancel
Save