summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <[email protected]>2019-03-19 16:43:43 -0700
committerAdam Ierymenko <[email protected]>2019-03-19 16:43:43 -0700
commit63ec19674c423b3d93185a690cff3f355c8d9c17 (patch)
tree2bbef2c69d0434ca95e9f952debf8aa2e9c6ad6d /node/Switch.cpp
parent087c75d5eebea46be5a877dbd22c2362ad0a9051 (diff)
.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index 3a4f8276..55275dc3 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -816,7 +816,6 @@ void Switch::doAnythingWaitingForPeer(void *tPtr,const SharedPtr<Peer> &peer)
{
Mutex::Lock _l(_txQueue_m);
-
for(std::list< TXQueueEntry >::iterator txi(_txQueue.begin());txi!=_txQueue.end();) {
if (txi->dest == peer->address()) {
if (_trySend(tPtr,txi->packet,txi->encrypt)) {