# HG changeset patch # User Matthew Wild # Date 1250607598 -3600 # Node ID beadd8da061c6847719d9f088a8cbae865cde112 # Parent 3a5b6cd6b8c9641b50fef4a409822bd768561611# Parent 3f7fd1445d02b36ebb8d946fb2c03f8f26b0133b Merge with waqas diff -r 3a5b6cd6b8c9 -r beadd8da061c plugins/mod_compression.lua --- a/plugins/mod_compression.lua Tue Aug 18 15:59:11 2009 +0100 +++ b/plugins/mod_compression.lua Tue Aug 18 15:59:58 2009 +0100 @@ -50,7 +50,7 @@ local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("setup-failed"); session.send(error_st); session:log("error", "Failed to create zlib.deflate filter."); - module:log("error", inflate_stream); + module:log("error", deflate_stream); return end @@ -88,10 +88,10 @@ if status == false then session:close({ condition = "undefined-condition"; - text = compressed; + text = decompressed; extra = st.stanza("failure", {xmlns="http://jabber.org/protocol/compress"}):tag("processing-failed"); }); - module:log("error", compressed); + module:log("error", decompressed); return; end old_data(conn, decompressed);