changeset 7074:66f7a5185a4c

fix default C-GET store role
author Alain Mazy <am@orthanc.team>
date Wed, 12 Aug 2026 12:37:09 +0200
parents 6c78bd3fcded
children a4a2eaf3401c db0d6743ee4e
files OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp	Wed Aug 12 11:47:56 2026 +0200
+++ b/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp	Wed Aug 12 12:37:09 2026 +0200
@@ -296,7 +296,7 @@
         throw OrthancException(ErrorCode_BadSequenceOfCalls); // the acceptedStorageSopClassUids should always be defined for a C-Get
       }
 
-      DicomAssociationRole proposedStoreRole = DicomAssociationRole_Scu;
+      DicomAssociationRole proposedStoreRole = DicomAssociationRole_Scp;
 
       if (parameters_.GetRemoteModality().GetManufacturer() == ModalityManufacturer_SiemensSyngoCT)
       {