Преглед изворни кода

Fix retrieve code to allow multiple series download

This fix requires the dropNetwork branch of commontk/DCMTK in order to
build and run properly.
Steve Pieper пре 14 година
родитељ
комит
79f703ce87
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      Libs/DICOM/Core/ctkDICOMRetrieve.cpp

+ 5 - 5
Libs/DICOM/Core/ctkDICOMRetrieve.cpp

@@ -237,11 +237,11 @@ bool ctkDICOMRetrievePrivate::retrieve ( QString UID, RetrieveType retriveType )
 
 
 
 
   delete responses;
   delete responses;
-  //if ( !scu.dropNetwork().good() ) 
-    //{
-    //logger.error ( "Error dropping the network" );
-    //return false;
-    //}
+  if ( !scu.dropNetwork().good() ) 
+    {
+    logger.error ( "Error dropping the network" );
+    return false;
+    }
   return true;
   return true;
 }
 }