Pārlūkot izejas kodu

fixed cut and paste error

Mark Lakata 10 gadi atpakaļ
vecāks
revīzija
fc3dc6eea8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/CivetServer.cpp

+ 1 - 1
src/CivetServer.cpp

@@ -98,7 +98,7 @@ CivetServer::CivetServer(const char **options,
     }
     }
     callbacks.connection_close = closeHandler;
     callbacks.connection_close = closeHandler;
     context = mg_start(&callbacks, this, options);
     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()
 CivetServer::~CivetServer()