diff Core/DicomNetworking/DicomUserConnection.cpp @ 2715:73bc0c32547c jobs

fix embedding openssl within a DLL
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Jul 2018 13:02:56 +0200
parents 5b6c3d77a2a1
children 61a5667f37d9
line wrap: on
line diff
--- a/Core/DicomNetworking/DicomUserConnection.cpp	Mon Jul 09 12:20:28 2018 +0200
+++ b/Core/DicomNetworking/DicomUserConnection.cpp	Mon Jul 09 13:02:56 2018 +0200
@@ -847,7 +847,7 @@
   {
     SetRemoteApplicationEntityTitle(parameters.GetApplicationEntityTitle());
     SetRemoteHost(parameters.GetHost());
-    SetRemotePort(parameters.GetPort());
+    SetRemotePort(parameters.GetPortNumber());
     SetRemoteManufacturer(parameters.GetManufacturer());
   }
 
@@ -1252,7 +1252,7 @@
     return (localAet_ == localAet &&
             remoteAet_ == remote.GetApplicationEntityTitle() &&
             remoteHost_ == remote.GetHost() &&
-            remotePort_ == remote.GetPort() &&
+            remotePort_ == remote.GetPortNumber() &&
             manufacturer_ == remote.GetManufacturer());
   }
 }