From 3e5415e3d684ae3943a56df6d2b6a25a67c8f81d Mon Sep 17 00:00:00 2001 From: kradchen Date: Mon, 23 Sep 2024 14:40:50 +0800 Subject: [PATCH] fix: Fix Recon StoragePoint port parse bug for PACS setting requet --- src/recon/ReconClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recon/ReconClient.cpp b/src/recon/ReconClient.cpp index 4b242b2..45cb65d 100644 --- a/src/recon/ReconClient.cpp +++ b/src/recon/ReconClient.cpp @@ -267,7 +267,7 @@ RequestResult ReconClient::GetPACSSetting(std::vector &aSettings) readedSetting.AETitle = aetitle; readedSetting.ServerAETitle = ServerAETitle->valuestring; readedSetting.ServerIP = ServerIP->valuestring; - readedSetting.Port = Port->valueint; + readedSetting.Port = atoi(Port->valuestring); readedSetting.StorageCommitment = StorageCommitment->valueint == 1; aSettings.push_back(readedSetting); }