summaryrefslogtreecommitdiff
path: root/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant <[email protected]>2013-01-26 12:51:48 -0500
committerAndrew Gallant <[email protected]>2013-01-26 12:51:48 -0500
commit7043a79bf5cdf6f52a6dc4a05be364da10593ad4 (patch)
treed4013315844c1c91adffaca5636bde134f5a2eb8 /conn.go
parent0faa267d653d815a370a50be59480a3801bc440f (diff)
gofmt
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn.go b/conn.go
index bb2f413..7f4cf08 100644
--- a/conn.go
+++ b/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)
}