diff OrthancServer/main.cpp @ 2640:c691fcf66071 jobs

ResourceModificationJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 May 2018 16:30:17 +0200
parents 33c0b4da8cb2
children a21b244efb37
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Mon May 28 14:39:22 2018 +0200
+++ b/OrthancServer/main.cpp	Mon May 28 16:30:17 2018 +0200
@@ -75,7 +75,7 @@
     if (dicomFile.size() > 0)
     {
       DicomInstanceToStore toStore;
-      toStore.SetDicomProtocolOrigin(remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str());
+      toStore.GetOrigin().SetDicomProtocolOrigin(remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str());
       toStore.SetBuffer(dicomFile);
       toStore.SetSummary(dicomSummary);
       toStore.SetJson(dicomJson);