Fix compile error without message digest support

pull/97/head
Tatsuhiro Tsujikawa 2013-05-25 22:38:57 +09:00
parent bc3b162569
commit 84769bce57
1 changed files with 2 additions and 0 deletions

View File

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