From e9a16912c3b8d067a8df0340282ef6e8af9d5e39 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 2 Sep 2017 19:24:06 +0300 Subject: [PATCH] Fix typo. --- src/api/Httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/Httpd.cpp b/src/api/Httpd.cpp index cefb8192c..f6836c920 100644 --- a/src/api/Httpd.cpp +++ b/src/api/Httpd.cpp @@ -49,7 +49,7 @@ bool Httpd::start() return false; } - m_daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, 4455, nullptr, nullptr, &Httpd::handler, this, MHD_OPTION_END); + m_daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, m_port, nullptr, nullptr, &Httpd::handler, this, MHD_OPTION_END); if (!m_daemon) { LOG_ERR("HTTP Daemon failed to start."); return false;