Explorar o código

fixed cut and paste error

Mark Lakata %!s(int64=10) %!d(string=hai) anos
pai
achega
fc3dc6eea8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()