This commit is contained in:
Andrew Gallant 2013-01-26 12:51:48 -05:00 committed by Přemysl Janouch
parent e635de5e1d
commit 3658686aee
Signed by: p
GPG Key ID: A0420B94F92B9493
8 changed files with 30 additions and 30 deletions

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)
}