From c732fe386273de6f16103fc67b919be08dc5bdab Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 24 Dec 2017 20:27:20 +0100 Subject: [PATCH] HTTP server: fixed wrong assert --- httpserver/httpconnectionhandlerpool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpserver/httpconnectionhandlerpool.cpp b/httpserver/httpconnectionhandlerpool.cpp index f4b3ac31b..70bb1506c 100644 --- a/httpserver/httpconnectionhandlerpool.cpp +++ b/httpserver/httpconnectionhandlerpool.cpp @@ -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;