Mercurial > hg > orthanc
comparison OrthancServer/Internals/StoreScp.cpp @ 1744:b3de74dec2d5 db-changes
integration mainline->db-changes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 26 Oct 2015 12:30:34 +0100 |
parents | a001f6226c7c |
children | e2c3d752ee1a |
comparison
equal
deleted
inserted
replaced
1729:54d78925cbb6 | 1744:b3de74dec2d5 |
---|---|
167 | 167 |
168 try | 168 try |
169 { | 169 { |
170 FromDcmtkBridge::Convert(summary, **imageDataSet); | 170 FromDcmtkBridge::Convert(summary, **imageDataSet); |
171 FromDcmtkBridge::ToJson(dicomJson, **imageDataSet, | 171 FromDcmtkBridge::ToJson(dicomJson, **imageDataSet, |
172 DicomToJsonFormat_Full, 256 /* max string length */); | 172 DicomToJsonFormat_Full, |
173 DicomToJsonFlags_Default, | |
174 256 /* max string length */); | |
173 | 175 |
174 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, **imageDataSet)) | 176 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, **imageDataSet)) |
175 { | 177 { |
176 LOG(ERROR) << "cannot write DICOM file to memory"; | 178 LOG(ERROR) << "cannot write DICOM file to memory"; |
177 rsp->DimseStatus = STATUS_STORE_Refused_OutOfResources; | 179 rsp->DimseStatus = STATUS_STORE_Refused_OutOfResources; |