fix logging wrong variable for failed resume

This commit is contained in:
Daniel Gultsch 2016-05-08 21:53:45 +02:00
parent 6f3b8f64d1
commit 488780d2ce
1 changed files with 1 additions and 1 deletions

View File

@ -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");