From e256da00b1fdccc7508a4cc5b9e9a3b195d44203 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Mon, 7 May 2012 21:58:43 -0400 Subject: gofmt --- nexgb/xgb.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'nexgb') 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 -- cgit v1.2.3-70-g09d2