mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 06:31:50 +08:00
merge modified patch from synergy PR https://github.com/symless/synergy-core/pull/6178
This commit is contained in:
@@ -87,7 +87,7 @@ NetworkAddress::NetworkAddress(const String& hostname, int port) :
|
||||
// notation. in that case we assume it's not a port suffix.
|
||||
// the user can replace the double colon with zeros to
|
||||
// disambiguate.
|
||||
if ((!doubleColon || dotNotation) || !colonNotation) {
|
||||
if ((!doubleColon || dotNotation) && !colonNotation) {
|
||||
// parse port from hostname
|
||||
char* end;
|
||||
const char* chostname = m_hostname.c_str();
|
||||
|
||||
Reference in New Issue
Block a user