mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
2010-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed SharedHandle::isNull(). Instead we added operator* and operator unspecified_bool_type. Removed use of WeakHandle and replaced with raw pointer.
This commit is contained in:
parent
f6f5a7e5ee
commit
93e5dbed32
181 changed files with 911 additions and 876 deletions
|
@ -80,7 +80,7 @@ bool DHTEntryPointNameResolveCommand::execute()
|
|||
return true;
|
||||
}
|
||||
#ifdef ENABLE_ASYNC_DNS
|
||||
if(resolver_.isNull()) {
|
||||
if(!resolver_) {
|
||||
int family;
|
||||
if(e_->getOption()->getAsBool(PREF_ENABLE_ASYNC_DNS6)) {
|
||||
family = AF_UNSPEC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue