diff OrthancServer/OrthancMoveRequestHandler.cpp @ 1909:21fcfc428dc2

another semantics for Originator Message ID
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 Jan 2016 15:15:51 +0100
parents 5011a597b6ce
children a657f7772e69
line wrap: on
line diff
--- a/OrthancServer/OrthancMoveRequestHandler.cpp	Thu Jan 07 11:36:47 2016 +0100
+++ b/OrthancServer/OrthancMoveRequestHandler.cpp	Wed Jan 13 15:15:51 2016 +0100
@@ -169,7 +169,8 @@
                                                           const DicomMap& input,
                                                           const std::string& remoteIp,
                                                           const std::string& remoteAet,
-                                                          const std::string& calledAet)
+                                                          const std::string& calledAet,
+                                                          uint16_t messageId)
   {
     LOG(WARNING) << "Move-SCU request received for AET \"" << targetAet << "\"";
 
@@ -187,6 +188,7 @@
     }
 
 
+#if 0
     /**
      * Retrieve the Message ID (0000,0110) for this C-MOVE request, if
      * any. If present, this Message ID will be stored in the Move
@@ -197,7 +199,7 @@
     static const DicomTag MESSAGE_ID(0x0000, 0x0110);
     const DicomValue* messageIdTmp = input.TestAndGetValue(MESSAGE_ID);
 
-    uint16_t messageId = 0;
+    messageId = 0;
 
     if (messageIdTmp != NULL &&
         !messageIdTmp->IsNull() &&
@@ -213,6 +215,7 @@
                      << "\") of an incoming C-MOVE request to an integer, assuming zero";
       }
     }
+#endif
 
 
     /**