Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 725:96110075288b
Replacing pretty_print() with top_tag() for logging
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Jan 2009 04:37:16 +0000 |
parent | 701:dc67e3cffff4 |
child | 763:8e77a39826c2 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri Jan 16 04:19:47 2009 +0000 +++ b/plugins/mod_bosh.lua Fri Jan 16 04:37:16 2009 +0000 @@ -213,7 +213,7 @@ end function stream_callbacks.handlestanza(request, stanza) - log("debug", "BOSH stanza received: %s\n", stanza:pretty_print()); + log("debug", "BOSH stanza received: %s\n", stanza:top_tag()); local session = sessions[request.sid]; if session then if stanza.attr.xmlns == xmlns_bosh then