# HG changeset patch # User Matthew Wild # Date 1286464749 -3600 # Node ID 36648205b10a6680040176e09a73f0e858742660 # Parent 08fa42e1ab06bddc87bac0bdb1d47340d618e6b7 mod_smacks: Add commented log statement for future debugging diff -r 08fa42e1ab06 -r 36648205b10a mod_smacks/mod_smacks.lua --- a/mod_smacks/mod_smacks.lua Thu Oct 07 16:18:07 2010 +0100 +++ b/mod_smacks/mod_smacks.lua Thu Oct 07 16:19:09 2010 +0100 @@ -82,6 +82,7 @@ if not origin.smacks then return; end origin.awaiting_ack = nil; -- Remove handled stanzas from outgoing_stanza_queue + --log("debug", "ACK: h=%s, last=%s", stanza.attr.h or "", origin.last_acknowledged_stanza or ""); local handled_stanza_count = tonumber(stanza.attr.h)-origin.last_acknowledged_stanza; local queue = origin.outgoing_stanza_queue; if handled_stanza_count > #queue then @@ -142,6 +143,7 @@ end); return; -- Postpone destruction for now end + end return _destroy_session(session, err); end