Mercurial > hg > orthanc
comparison OrthancServer/Internals/StoreScp.cpp @ 1004:a226e0959d8b lua-scripting
DicomInstanceToStore
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Jul 2014 14:06:05 +0200 |
parents | 84513f2ee1f3 |
children | 5730f374e4e6 |
comparison
equal
deleted
inserted
replaced
1003:1d35281d967c | 1004:a226e0959d8b |
---|---|
166 try | 166 try |
167 { | 167 { |
168 FromDcmtkBridge::Convert(summary, **imageDataSet); | 168 FromDcmtkBridge::Convert(summary, **imageDataSet); |
169 FromDcmtkBridge::ToJson(dicomJson, **imageDataSet); | 169 FromDcmtkBridge::ToJson(dicomJson, **imageDataSet); |
170 | 170 |
171 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, *imageDataSet)) | 171 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, **imageDataSet)) |
172 { | 172 { |
173 LOG(ERROR) << "cannot write DICOM file to memory"; | 173 LOG(ERROR) << "cannot write DICOM file to memory"; |
174 rsp->DimseStatus = STATUS_STORE_Refused_OutOfResources; | 174 rsp->DimseStatus = STATUS_STORE_Refused_OutOfResources; |
175 } | 175 } |
176 } | 176 } |