diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-17 10:05:53 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-17 10:05:53 +0000 |
| commit | 87b18019b461e5f3a48bc22cdeb49e20a40ce236 (patch) | |
| tree | 79f7fb89f470023023106e3c6002544355e458d1 /src/DHTNode.cc | |
| parent | b08585ebe24eb534808525246dfe0c3c103fc918 (diff) | |
2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved generateRandomKey() from bittorrent_helper to util.
* src/DHTBucket.cc
* src/DHTNode.cc
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
* src/util.cc
* src/util.h
Diffstat (limited to 'src/DHTNode.cc')
| -rw-r--r-- | src/DHTNode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DHTNode.cc b/src/DHTNode.cc index 0cca4902..ac20f84e 100644 --- a/src/DHTNode.cc +++ b/src/DHTNode.cc @@ -54,7 +54,7 @@ DHTNode::DHTNode(const unsigned char* id):_port(0), _rtt(0), _condition(1), _las void DHTNode::generateID() { - bittorrent::generateRandomKey(_id); + util::generateRandomKey(_id); } bool DHTNode::operator==(const DHTNode& node) const |
