Mercurial > hg > orthanc
changeset 4174:067c679626a2
Fix transcoding in C-MOVE SCP, in the case where "SynchronousCMove" is "true"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Sep 2020 17:34:21 +0200 |
parents | 24759c286b5e |
children | 8f0de3998a59 |
files | NEWS OrthancServer/Sources/OrthancMoveRequestHandler.cpp |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Wed Sep 02 14:48:24 2020 +0200 +++ b/NEWS Wed Sep 02 17:34:21 2020 +0200 @@ -6,6 +6,7 @@ * Underscores are now allowed in peers/modalities symbolic names * Fix compatibility with C-MOVE SCU requests issued by Ambra +* Fix transcoding in C-MOVE SCP, in the case where "SynchronousCMove" is "true" Version 1.7.3 (2020-08-24)
--- a/OrthancServer/Sources/OrthancMoveRequestHandler.cpp Wed Sep 02 14:48:24 2020 +0200 +++ b/OrthancServer/Sources/OrthancMoveRequestHandler.cpp Wed Sep 02 17:34:21 2020 +0200 @@ -119,10 +119,8 @@ } std::string sopClassUid, sopInstanceUid; // Unused - - const void* data = dicom.empty() ? NULL : dicom.c_str(); - connection_->Store(sopClassUid, sopInstanceUid, data, dicom.size(), - true, originatorAet_, originatorId_); + context_.StoreWithTranscoding(sopClassUid, sopInstanceUid, *connection_, dicom, + true, originatorAet_, originatorId_); return Status_Success; }