mirror of https://github.com/aria2/aria2
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed unhandled exception(removed keyword `new'). * src/SocketCore.cc (initEPOLL)pull/1/head
parent
f393751ec8
commit
a79e7a5fd5
|
@ -1,3 +1,8 @@
|
|||
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed unhandled exception(removed keyword `new').
|
||||
* src/SocketCore.cc (initEPOLL)
|
||||
|
||||
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Removed visit(const MetaEntry*)
|
||||
|
|
|
@ -325,7 +325,7 @@ void SocketCore::closeConnection()
|
|||
void SocketCore::initEPOLL()
|
||||
{
|
||||
if((_epfd = epoll_create(1)) == -1) {
|
||||
throw new DlRetryEx(StringFormat("epoll_create failed:%s", errorMsg()).str());
|
||||
throw DlRetryEx(StringFormat("epoll_create failed:%s", errorMsg()).str());
|
||||
}
|
||||
|
||||
memset(&_epEvent, 0, sizeof(struct epoll_event));
|
||||
|
|
Loading…
Reference in New Issue