Explorar el Código

fixed cut and paste error

Mark Lakata hace 10 años
padre
commit
fc3dc6eea8
Se han modificado 1 ficheros con 1 adiciones y 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()