summaryrefslogtreecommitdiff
path: root/xmpp/encoder_decoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/encoder_decoder.go')
-rw-r--r--xmpp/encoder_decoder.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp/encoder_decoder.go b/xmpp/encoder_decoder.go
index f6958be..d7951b3 100644
--- a/xmpp/encoder_decoder.go
+++ b/xmpp/encoder_decoder.go
@@ -19,12 +19,12 @@ func newEncoderDecoder(s *session) encoderDecoder {
ed.session = s
- lw := logger{"TX: "}
+ lw := logger{"[TX] "}
w := io.MultiWriter(s.transport, lw)
ed.tx = xml.NewEncoder(w)
- ed.tx.Indent("", " ")
+ ed.tx.Indent("", "")
- lr := logger{"RX: "}
+ lr := logger{"[RX] "}
r := io.TeeReader(s.transport, lr)
ed.rx = xml.NewDecoder(r)