mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed method signature: NameResolver::resolve * src/DHTEntryPointNameResolveCommand.cc * src/InitiateConnectionCommand.cc * src/NameResolver.cc * src/NameResolver.h
This commit is contained in:
parent
7ec7b7ea60
commit
5e99846776
5 changed files with 20 additions and 8 deletions
|
@ -108,7 +108,8 @@ bool DHTEntryPointNameResolveCommand::execute()
|
|||
while(_entryPoints.size()) {
|
||||
std::string hostname = _entryPoints.front().first;
|
||||
try {
|
||||
std::deque<std::string> addrs(res.resolve(hostname));
|
||||
std::deque<std::string> addrs;
|
||||
res.resolve(addrs, hostname);
|
||||
|
||||
std::pair<std::string, uint16_t> p(addrs.front(),
|
||||
_entryPoints.front().second);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue