comparison OrthancServer/Sources/ServerJobs/SplitStudyJob.cpp @ 4819:70d2a97ca8cb openssl-3.x

integration mainline->openssl-3.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:12:32 +0100
parents 783f8a048035 94616af363ec
children 2e71a08eea15
comparison
equal deleted inserted replaced
4785:61da49321754 4819:70d2a97ca8cb
129 129
130 std::unique_ptr<DicomInstanceToStore> toStore(DicomInstanceToStore::CreateFromParsedDicomFile(*modified)); 130 std::unique_ptr<DicomInstanceToStore> toStore(DicomInstanceToStore::CreateFromParsedDicomFile(*modified));
131 toStore->SetOrigin(origin_); 131 toStore->SetOrigin(origin_);
132 132
133 std::string modifiedInstance; 133 std::string modifiedInstance;
134 if (GetContext().Store(modifiedInstance, *toStore, 134 ServerContext::StoreResult result = GetContext().Store(modifiedInstance, *toStore, StoreInstanceMode_Default);
135 StoreInstanceMode_Default) != StoreStatus_Success) 135 if (result.GetStatus() != StoreStatus_Success)
136 { 136 {
137 LOG(ERROR) << "Error while storing a modified instance " << instance; 137 LOG(ERROR) << "Error while storing a modified instance " << instance;
138 return false; 138 return false;
139 } 139 }
140 140