diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-08-23 09:22:05 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-08-23 09:22:05 +0100 |
commit | 2b449510c7ebdf21b761072b0892d872c62646a1 (patch) | |
tree | 213f1ce5121357425192f2f4abec171056eb4cc9 /util/xmppstream.lua | |
parent | 9736855cd32470d3750ddc6ffaa88470bb87b9f7 (diff) | |
download | prosody-2b449510c7ebdf21b761072b0892d872c62646a1.tar.gz prosody-2b449510c7ebdf21b761072b0892d872c62646a1.zip |
util.xmppstream: When error is 'no-stream', pass the received tagname to the error handler
Diffstat (limited to 'util/xmppstream.lua')
-rw-r--r-- | util/xmppstream.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua index 73f5e314..138c86b7 100644 --- a/util/xmppstream.lua +++ b/util/xmppstream.lua @@ -109,7 +109,7 @@ function new_sax_handlers(session, stream_callbacks, cb_handleprogress) end else -- Garbage before stream? - cb_error(session, "no-stream"); + cb_error(session, "no-stream", tagname); end return; end |