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:
Tatsuhiro Tsujikawa 2008-05-11 11:59:56 +00:00
parent 7ec7b7ea60
commit 5e99846776
5 changed files with 20 additions and 8 deletions

View file

@ -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);