forked from External/grumble
Grumble gofmt run.
This commit is contained in:
parent
a2a1f93372
commit
01182d36b3
1 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ type clientLogForwarder struct {
|
||||||
|
|
||||||
func (lf clientLogForwarder) Write(incoming []byte) (int, os.Error) {
|
func (lf clientLogForwarder) Write(incoming []byte) (int, os.Error) {
|
||||||
buf := bytes.NewBuffer(nil)
|
buf := bytes.NewBuffer(nil)
|
||||||
if (lf.client.Session == 0) {
|
if lf.client.Session == 0 {
|
||||||
buf.WriteString("<?:(-1)> ")
|
buf.WriteString("<?:(-1)> ")
|
||||||
} else {
|
} else {
|
||||||
buf.WriteString(fmt.Sprintf("<%v>:%v(%v)> ", lf.client.Session, lf.client.ShownName(), lf.client.UserId()))
|
buf.WriteString(fmt.Sprintf("<%v>:%v(%v)> ", lf.client.Session, lf.client.ShownName(), lf.client.UserId()))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue