瀏覽代碼

fixed cut and paste error

Mark Lakata 10 年之前
父節點
當前提交
fc3dc6eea8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()