mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-26 03:46:49 -08:00
add optionsfield to set http port
This commit is contained in:
1 parent
b03f54ffcd
commit
fc74e16097
5 files changed
+47
-9
No files matched your search
+2
-2
@@ -322,9 +322,9 @@ void Server::start(void)
|
||||
{
|
||||
if (m_started) return;
|
||||
|
||||
static const int PORT = 19455;
|
||||
int port = HttpSettings::httpPort();
|
||||
|
||||
daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL,
|
||||
daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, port, NULL, NULL,
|
||||
&this->request_handler_wrapper, this,
|
||||
MHD_OPTION_NOTIFY_COMPLETED,
|
||||
this->request_completed, NULL,
|
||||
|
||||
Reference in new issue
Block a user