diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-21 13:46:55 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-21 13:46:55 -0700 |
| commit | 33ad3deaee06df288731064aa0663cb2806ebea0 (patch) | |
| tree | a4ce002d3928dc3edb8a266149ad152533a89c5a /node/Peer.cpp | |
| parent | ba3f04deedb3a09e8683b2507b7c2176e87e3766 (diff) | |
| download | infinitytier-33ad3deaee06df288731064aa0663cb2806ebea0.tar.gz infinitytier-33ad3deaee06df288731064aa0663cb2806ebea0.zip | |
Builds with new Path code.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index ce203890..3d4b3484 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -112,7 +112,7 @@ bool Peer::send(const RuntimeEnvironment *_r,const void *data,unsigned int len,u uint64_t bestPathLastReceived = 0; std::vector<Path>::iterator bestPath; for(std::vector<Path>::iterator p(_paths.begin());p!=_paths.end();++p) { - uint64_t lr = p->lastRecevied(); + uint64_t lr = p->lastReceived(); if (lr >= bestPathLastReceived) { bestPathLastReceived = lr; bestPath = p; |
