aboutsummaryrefslogtreecommitdiff
path: root/nexgb/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2013-01-26 12:51:48 -0500
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:16 +0200
commit3658686aeea7acc61621782c7c1e6dad66517479 (patch)
tree84f7783325e817969649d5423960a6b4f123a978 /nexgb/conn.go
parente635de5e1d64d5d642c05ad24ebb207846022272 (diff)
downloadhaven-3658686aeea7acc61621782c7c1e6dad66517479.tar.gz
haven-3658686aeea7acc61621782c7c1e6dad66517479.tar.xz
haven-3658686aeea7acc61621782c7c1e6dad66517479.zip
gofmt
Diffstat (limited to 'nexgb/conn.go')
-rw-r--r--nexgb/conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/conn.go b/nexgb/conn.go
index bb2f413..7f4cf08 100644
--- a/nexgb/conn.go
+++ b/nexgb/conn.go
@@ -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)
}