2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed unhandled exception(removed keyword `new').
	* src/SocketCore.cc (initEPOLL)
pull/1/head
Tatsuhiro Tsujikawa 2008-06-17 09:06:50 +00:00
parent f393751ec8
commit a79e7a5fd5
2 changed files with 6 additions and 1 deletions

View File

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

View File

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