diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-08-20 18:49:19 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-08-20 18:49:19 +0900 |
| commit | 7a31f9bf29c6b89aed2a216d0159d6f43369e8a2 (patch) | |
| tree | 08c809cbc416ef1b2d1265ca75481e61b9924dba /src/DHTTaskExecutor.cc | |
| parent | c42fa9f20c81e551e63dbc1970186461e102f39c (diff) | |
Make assertion hold
If we have peer which is already used, make addAndCheckoutPeer() fail.
If peer is in unused list, first remove the old entry, and then add
new one. This would make assertion in ~DefaultPeerStorage hold.
Diffstat (limited to 'src/DHTTaskExecutor.cc')
0 files changed, 0 insertions, 0 deletions
