|
@@ -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 == NULL) throw CivetException("null context when constructing CivetServer. Possible problem binding to port.");
|
|
}
|
|
}
|
|
|
|
|
|
CivetServer::~CivetServer()
|
|
CivetServer::~CivetServer()
|