diff options
author | Peter Harris <pharris@opentext.com> | 2011-01-11 13:53:50 -0500 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2011-01-11 13:53:50 -0500 |
commit | db53acae839e9031956d2f61cd7e15ba088fb541 (patch) | |
tree | f3eb7187e3cf11eea9a537f88c7d82fc286fdaae | |
parent | c04d051a7e1a0b9d776adfc8ee5d71ddca2dba90 (diff) |
Fix typo in TCP selection
Otherwise, we try to connect to remote hosts using Unix (local) sockets.
-rw-r--r-- | xgob.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ func open(host string, protocol string, display int) io.ReadWriteCloser { } if(len(host) > 0 || len(protocol) > 0) { - if len(protocol) > 0 || "unix" == host { /* follow the old unix: rule */ + if len(protocol) > 0 || "unix" != host { /* follow the old unix: rule */ /* display specifies TCP */ port := X_TCP_PORT + display; return open_tcp(host, protocol, port); |