# HG changeset patch # User Chris Jones # Date 1355703003 25200 # Node ID ffb9d27fea79be92d0607b9b3f3ee08b0d3b6b40 # Parent aa895dfae3f64e321eace2caf2d462cfba97699e Fixed up the client/server traffic logging. diff -r aa895dfae3f6 -r ffb9d27fea79 xmpp.go --- a/xmpp.go Sun Dec 16 15:54:39 2012 -0700 +++ b/xmpp.go Sun Dec 16 17:10:03 2012 -0700 @@ -245,7 +245,7 @@ buf.Write(c[:n]) if c[0] == '\n' || c[0] == '>' { Debug.Log(buf) - buf.Reset() + buf = bytes.NewBuffer([]uint8(prefix)) } } leftover := buf.String()