aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-05-17 12:32:04 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-05-17 12:32:04 +0200
commitd672d578c91f54e17b930c4a08d133095a863d52 (patch)
treed17681fbece153b725455bf100bff107c9c80620
parentfce30f22c9c75fb4bc12992e6d7e7161ce5148b1 (diff)
fixed crash on failed account registry
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java2
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 6c67c072..b0d8272d 100644
--- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -683,7 +683,7 @@ public class XmppConnection implements Runnable {
disconnect(true);
Log.d(Config.LOGTAG, account.getJid().toBareJid()
+ ": could not register. instructions are"
- + instructions != null ? instructions.getContent() : "");
+ + (instructions != null ? instructions.getContent() : ""));
}
}
});