diff options
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java b/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java index e48eadd9..fdb53b36 100644 --- a/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java +++ b/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java @@ -95,15 +95,15 @@ public class JinglePacket extends IqPacket { public String toPrettyString() { StringBuilder output = new StringBuilder(); - output.append("["+getAction()+ " to:"+getTo()+" "); + output.append("["+getAction()+ " to:"+getTo()); if (this.content!=null) { if (this.content.getUsedCandidate()!=null) { - output.append("used-candidate="+this.content.getUsedCandidate()); + output.append(" [used-candidate="+this.content.getUsedCandidate()+"]"); } else if (this.content.hasCandidateError()) { - output.append("candidate-error"); + output.append(" [candidate-error]"); } else { for(Element c : this.content.getCanditates()) { - output.append("["+c.getAttribute("host")+":"+c.getAttribute("port")+"]"); + output.append(" ["+c.getAttribute("host")+":"+c.getAttribute("port")+"]"); } } } |