gofmt
This commit is contained in:
parent
e635de5e1d
commit
3658686aee
|
@ -162,7 +162,7 @@ func (c *Conn) dial(display string) error {
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
}
|
}
|
||||||
c.conn, err = net.Dial(protocol,
|
c.conn, err = net.Dial(protocol,
|
||||||
c.host+":"+strconv.Itoa(6000+c.DisplayNumber))
|
c.host+":"+strconv.Itoa(6000+c.DisplayNumber))
|
||||||
} else {
|
} else {
|
||||||
c.conn, err = net.Dial("unix", "/tmp/.X11-unix/X"+c.display)
|
c.conn, err = net.Dial("unix", "/tmp/.X11-unix/X"+c.display)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue