Browse Source

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

	Fixed unhandled exception(removed keyword `new').
	* src/SocketCore.cc (initEPOLL)
Tatsuhiro Tsujikawa 17 năm trước cách đây
mục cha
commit
a79e7a5fd5
2 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 5 0
      ChangeLog
  2. 1 1
      src/SocketCore.cc

+ 5 - 0
ChangeLog

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

+ 1 - 1
src/SocketCore.cc

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