Mercurial > hg > orthanc
comparison OrthancServer/OrthancGetRequestHandler.cpp @ 3859:d30bce4bdae9 c-get
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Apr 2020 16:39:52 +0200 |
parents | 4f78da5613a1 |
children | 620e87e9e816 |
comparison
equal
deleted
inserted
replaced
3858:3ab2d48c8f69 | 3859:d30bce4bdae9 |
---|---|
98 #if DCMTK_VERSION_NUMBER >= 364 | 98 #if DCMTK_VERSION_NUMBER >= 364 |
99 if (!DU_findSOPClassAndInstanceInDataSet(static_cast<DcmItem *> (dcmff.getDataset()), | 99 if (!DU_findSOPClassAndInstanceInDataSet(static_cast<DcmItem *> (dcmff.getDataset()), |
100 sopClass, sizeof(sopClass), | 100 sopClass, sizeof(sopClass), |
101 sopInstance, sizeof(sopInstance))) | 101 sopInstance, sizeof(sopInstance))) |
102 #else | 102 #else |
103 if (!DU_findSOPClassAndInstanceInDataSet(dcmff.getDataset(), sopClassUid, sopInstance)) | 103 if (!DU_findSOPClassAndInstanceInDataSet(dcmff.getDataset(), sopClass, sopInstance)) |
104 #endif | 104 #endif |
105 { | 105 { |
106 throw OrthancException(ErrorCode_NoSopClassOrInstance, | 106 throw OrthancException(ErrorCode_NoSopClassOrInstance, |
107 "Unable to determine the SOP class/instance for C-STORE with AET " + | 107 "Unable to determine the SOP class/instance for C-STORE with AET " + |
108 originatorAet_); | 108 originatorAet_); |