diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-26 18:50:48 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-26 18:50:48 +0900 |
| commit | 3a19b65dd77ff7a71c8ad277ec9ba3e17de7ee2d (patch) | |
| tree | 82aaceccab603d214ea89599bf9207e623a220d8 /src/Peer.cc | |
| parent | 91b26ab2a8c252c36d3cd7bfd48fe7d622e443f3 (diff) | |
Rename /BadCondition/ in Peer to /Drop/
Diffstat (limited to 'src/Peer.cc')
| -rw-r--r-- | src/Peer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Peer.cc b/src/Peer.cc index 1ca02d91..4edcebb9 100644 --- a/src/Peer.cc +++ b/src/Peer.cc @@ -51,7 +51,7 @@ Peer::Peer(std::string ipaddr, uint16_t port, bool incoming): origPort_(port), cuid_(0), firstContactTime_(global::wallclock()), - badConditionStartTime_(0), + dropStartTime_(0), seeder_(false), res_(0), incoming_(incoming), @@ -317,9 +317,9 @@ void Peer::setAllBitfield() { updateSeeder(); } -void Peer::startBadCondition() +void Peer::startDrop() { - badConditionStartTime_ = global::wallclock(); + dropStartTime_ = global::wallclock(); } uint8_t Peer::getExtensionMessageID(int key) const |
