diff OrthancServer/Internals/CommandDispatcher.cpp @ 2381:b8969010b534

uncoupling DCMTK primitives from Orthanc::Configuration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Aug 2017 19:59:01 +0200
parents 3ab96768d144
children
line wrap: on
line diff
--- a/OrthancServer/Internals/CommandDispatcher.cpp	Tue Aug 29 16:49:44 2017 +0200
+++ b/OrthancServer/Internals/CommandDispatcher.cpp	Tue Aug 29 19:59:01 2017 +0200
@@ -871,8 +871,9 @@
                   worklistHandler.reset(server_.GetWorklistRequestHandlerFactory().ConstructWorklistRequestHandler());
                 }
 
-                cond = Internals::findScp(assoc_, &msg, presID, findHandler.get(), 
-                                          worklistHandler.get(), remoteIp_, remoteAet_, calledAet_);
+                cond = Internals::findScp(assoc_, &msg, presID, server_.GetRemoteModalities(),
+                                          findHandler.get(), worklistHandler.get(),
+                                          remoteIp_, remoteAet_, calledAet_);
               }
               break;