This commit is contained in:
Andrew Gallant
2018-09-08 16:49:16 +02:00
committed by p
parent e635de5e1d
commit 3658686aee
8 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func (c *Conn) dial(display string) error {
protocol = "tcp"
}
c.conn, err = net.Dial(protocol,
c.host+":"+strconv.Itoa(6000+c.DisplayNumber))
c.host+":"+strconv.Itoa(6000+c.DisplayNumber))
} else {
c.conn, err = net.Dial("unix", "/tmp/.X11-unix/X"+c.display)
}