don't return default destination if port is specified explicitly

This commit is contained in:
orignal 2023-04-12 13:33:20 -04:00
parent b8d21a1282
commit 132557f941
2 changed files with 5 additions and 3 deletions

View file

@ -693,7 +693,7 @@ namespace client
{
if (!inport) inport = port;
m_PortDestination = localDestination->GetStreamingDestination (inport);
if (!m_PortDestination || (inport && (m_PortDestination == localDestination->GetStreamingDestination ()))) // default destination
if (!m_PortDestination) // default destination
m_PortDestination = localDestination->CreateStreamingDestination (inport, gzip);
}