From 6a71b75f6363b2adc13b4afb93b5d828c39d21e3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 22 Aug 2018 12:57:47 +0200 Subject: [PATCH] ApiListener: Dump the state file port detail as number refs #6511 --- lib/remote/apilistener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 8c0abf570..ac11cb95e 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -1484,7 +1484,7 @@ void ApiListener::UpdateStatusFile(TcpSocket::Ptr socket) Utility::SaveJsonFile(path, 0644, new Dictionary({ {"host", details.first}, - {"port", details.second} + {"port", Convert::ToLong(details.second)} })); }