ApiListener: Dump the state file port detail as number

refs #6511
This commit is contained in:
Michael Friedrich 2018-08-22 12:57:47 +02:00
parent ebe4bcea8e
commit 6a71b75f63
1 changed files with 1 additions and 1 deletions

View File

@ -1484,7 +1484,7 @@ void ApiListener::UpdateStatusFile(TcpSocket::Ptr socket)
Utility::SaveJsonFile(path, 0644, new Dictionary({ Utility::SaveJsonFile(path, 0644, new Dictionary({
{"host", details.first}, {"host", details.first},
{"port", details.second} {"port", Convert::ToLong(details.second)}
})); }));
} }