Browse Source

fixed cut and paste error

Mark Lakata 10 năm trước cách đây
mục cha
commit
fc3dc6eea8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/CivetServer.cpp

+ 1 - 1
src/CivetServer.cpp

@@ -98,7 +98,7 @@ CivetServer::CivetServer(const char **options,
     }
     callbacks.connection_close = closeHandler;
     context = mg_start(&callbacks, this, options);
-    if (context == nullptr) throw CivetException::("null context when constructing CivetServer. Possible problem binding to port.");
+    if (context == nullptr) throw CivetException("null context when constructing CivetServer. Possible problem binding to port.");
 }
 
 CivetServer::~CivetServer()