# HG changeset patch # User Matthew Wild # Date 1408782125 -3600 # Node ID ec446efc15e17f2efd5e811901908f0f73cf3fed # Parent f5f44504e18b3d5406fb4b1e3a566abd65f6c19b util.xmppstream: When error is 'no-stream', pass the received tagname to the error handler diff -r f5f44504e18b -r ec446efc15e1 util/xmppstream.lua --- a/util/xmppstream.lua Wed Aug 27 13:20:08 2014 +0200 +++ b/util/xmppstream.lua Sat Aug 23 09:22:05 2014 +0100 @@ -109,7 +109,7 @@ end else -- Garbage before stream? - cb_error(session, "no-stream"); + cb_error(session, "no-stream", tagname); end return; end