diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-05-08 21:53:45 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-05-08 21:53:45 +0200 |
commit | 488780d2ce2dfb471adc7a99310c29a5202ea6c0 (patch) | |
tree | 61d6b08e177a961ea1299bfb7e8998bdaaec62c5 /src/main/java/eu | |
parent | 6f3b8f64d17c84e7baac78b1efa72400859f67e6 (diff) |
fix logging wrong variable for failed resume
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java index 36424482..772bfd3d 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java @@ -544,7 +544,7 @@ public class XmppConnection implements Runnable { Element failed = tagReader.readElement(nextTag); try { final int serverCount = Integer.parseInt(failed.getAttribute("h")); - Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed but server acknowledged stanza #"+h); + Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed but server acknowledged stanza #"+serverCount); acknowledgeStanzaUpTo(serverCount); } catch (NumberFormatException | NullPointerException e) { Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed"); |