HTTP server: fixed wrong assert

This commit is contained in:
f4exb 2017-12-24 20:27:20 +01:00
parent 1987bbac77
commit c732fe3862
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ HttpConnectionHandlerPool::HttpConnectionHandlerPool(QSettings* settings, HttpRe
HttpConnectionHandlerPool::HttpConnectionHandlerPool(const HttpListenerSettings* settings, HttpRequestHandler* requestHandler)
: QObject(), useQtSettings(false)
{
Q_ASSERT(listenerSettings != 0);
Q_ASSERT(settings != 0);
this->settings = 0;
this->listenerSettings = settings;
this->requestHandler = requestHandler;