aboutsummaryrefslogtreecommitdiff
path: root/nexgb
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 21:58:43 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 21:58:43 -0400
commite256da00b1fdccc7508a4cc5b9e9a3b195d44203 (patch)
treee156e3cc7432f41c680ef840f2d1f823cbf3b41c /nexgb
parent13d598e5e7f26bc6177ae3f7d52f4f19729ab2f3 (diff)
downloadhaven-e256da00b1fdccc7508a4cc5b9e9a3b195d44203.tar.gz
haven-e256da00b1fdccc7508a4cc5b9e9a3b195d44203.tar.xz
haven-e256da00b1fdccc7508a4cc5b9e9a3b195d44203.zip
gofmt
Diffstat (limited to 'nexgb')
-rw-r--r--nexgb/xgb.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/nexgb/xgb.go b/nexgb/xgb.go
index cec06d6..e5f4b1f 100644
--- a/nexgb/xgb.go
+++ b/nexgb/xgb.go
@@ -2,8 +2,8 @@ package xgb
import (
"errors"
- "log"
"io"
+ "log"
"net"
"sync"
)
@@ -320,7 +320,7 @@ func (c *Conn) readResponses() {
// generated) by looking it up by the error number.
newErrFun, ok := newErrorFuncs[int(buf[1])]
if !ok {
- log.Printf("BUG: Could not find error constructor function " +
+ log.Printf("BUG: Could not find error constructor function "+
"for error with number %d.", buf[1])
continue
}
@@ -357,7 +357,7 @@ func (c *Conn) readResponses() {
evNum := int(buf[0] & 127)
newEventFun, ok := newEventFuncs[evNum]
if !ok {
- log.Printf("BUG: Could not find event construct function " +
+ log.Printf("BUG: Could not find event construct function "+
"for event with number %d.", evNum)
continue
}
@@ -417,13 +417,13 @@ func (c *Conn) readResponses() {
switch {
// Checked requests with replies
case cookie.replyChan != nil && cookie.errorChan != nil:
- log.Printf("Found cookie with sequence id %d that is " +
- "expecting a reply but will never get it. Currently " +
+ log.Printf("Found cookie with sequence id %d that is "+
+ "expecting a reply but will never get it. Currently "+
"on sequence number %d", cookie.Sequence, seq)
// Unchecked requests with replies
case cookie.replyChan != nil && cookie.pingChan != nil:
- log.Printf("Found cookie with sequence id %d that is " +
- "expecting a reply (and not an error) but will never " +
+ log.Printf("Found cookie with sequence id %d that is "+
+ "expecting a reply (and not an error) but will never "+
"get it. Currently on sequence number %d",
cookie.Sequence, seq)
// Checked requests without replies