diff OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 2352:3ab96768d144

Fix issue #52 (DICOM level security association problems)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Jul 2017 17:33:26 +0200
parents b5a04d983647
children b8969010b534
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp	Tue Jul 18 08:41:09 2017 +0200
+++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp	Tue Jul 18 17:33:26 2017 +0200
@@ -496,7 +496,7 @@
     switch (manufacturer)
     {
       case ModalityManufacturer_GenericNoWildcardInDates:
-      case ModalityManufacturer_GenericNoWildcards:
+      case ModalityManufacturer_GenericNoUniversalWildcard:
       {
         std::auto_ptr<DicomMap> fix(fields.Clone());
 
@@ -508,7 +508,7 @@
           // Replace a "*" wildcard query by an empty query ("") for
           // "date" or "all" value representations depending on the
           // type of manufacturer.
-          if (manufacturer == ModalityManufacturer_GenericNoWildcards ||
+          if (manufacturer == ModalityManufacturer_GenericNoUniversalWildcard ||
               (manufacturer == ModalityManufacturer_GenericNoWildcardInDates &&
                FromDcmtkBridge::LookupValueRepresentation(*it) == ValueRepresentation_Date))
           {