changeset 5418:cd90d8b4661e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Nov 2023 16:16:14 +0100
parents 2a7a113d791d
children ac4e9fb87615
files OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp	Wed Nov 08 16:10:46 2023 +0100
+++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp	Wed Nov 08 16:16:14 2023 +0100
@@ -940,7 +940,7 @@
   void ParsedDicomFile::SaveToMemoryBuffer(std::string& buffer)
   {
     std::string errorMessage;
-    if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, *GetDcmtkObject().getDataset(), errorMessage)
+    if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, *GetDcmtkObject().getDataset(), errorMessage))
     {
       throw OrthancException(ErrorCode_InternalError, "Cannot write DICOM file to memory, DCMTK error: " + errorMessage);
     }