mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
Fix compile error without message digest support
This commit is contained in:
parent
bc3b162569
commit
84769bce57
@ -166,6 +166,7 @@ int MultiUrlRequestInfo::prepare()
|
||||
// Avoid keeping RequestGroups alive longer than necessary
|
||||
requestGroups_.clear();
|
||||
|
||||
#ifdef ENABLE_WEBSOCKET
|
||||
if(option_->getAsBool(PREF_ENABLE_RPC)) {
|
||||
SharedHandle<rpc::WebSocketSessionMan> wsSessionMan
|
||||
(new rpc::WebSocketSessionMan());
|
||||
@ -173,6 +174,7 @@ int MultiUrlRequestInfo::prepare()
|
||||
SingletonHolder<Notifier>::instance()->addDownloadEventListener
|
||||
(wsSessionMan);
|
||||
}
|
||||
#endif // ENABLE_WEBSOCKET
|
||||
|
||||
if(!option_->blank(PREF_LOAD_COOKIES)) {
|
||||
File cookieFile(option_->get(PREF_LOAD_COOKIES));
|
||||
|
Loading…
Reference in New Issue
Block a user