Fix typo.

dev
XMRig 2017-09-02 19:25:02 +03:00
parent 0f74572c2c
commit c2fcb76cc8
1 changed files with 1 additions and 1 deletions

View File

@ -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;