comparison OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp @ 4912:45d6ce72a84e

fix linking of Sanitizer sample plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Feb 2022 17:46:28 +0100
parents 8523078f3f4b
children 80ac0955e4e7
comparison
equal deleted inserted replaced
4911:0acc49da84ab 4912:45d6ce72a84e
786 request = DicomRequestType_Get; 786 request = DicomRequestType_Get;
787 supported = true; 787 supported = true;
788 break; 788 break;
789 789
790 case DIMSE_C_FIND_RQ: 790 case DIMSE_C_FIND_RQ:
791 {
792 std::string sopClassUid(msg.msg.CFindRQ.AffectedSOPClassUID);
793 if (sopClassUid == UID_FINDModalityWorklistInformationModel)
791 { 794 {
792 std::string sopClassUid(msg.msg.CFindRQ.AffectedSOPClassUID); 795 request = DicomRequestType_FindWorklist;
793 if (sopClassUid == UID_FINDModalityWorklistInformationModel) 796 }
794 { 797 else
795 request = DicomRequestType_FindWorklist; 798 {
796 } 799 request = DicomRequestType_Find;
797 else 800 }
798 { 801 supported = true;
799 request = DicomRequestType_Find; 802 break;
800 } 803 }
801 supported = true; 804
802 }; break;
803 case DIMSE_N_ACTION_RQ: 805 case DIMSE_N_ACTION_RQ:
804 request = DicomRequestType_NAction; 806 request = DicomRequestType_NAction;
805 supported = true; 807 supported = true;
806 break; 808 break;
807 809