aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-09-18 11:51:46 +0200
committerfiaxh <git@lightrise.org>2020-09-19 11:16:22 +0200
commit6325a98cff72ecf7f58c6b29b5321f534e085766 (patch)
tree80dd44b6a7d248599cd1917c1000c32a00fcf57a /xmpp-vala
parentd32d1b91a16178986ecf1edac83bcf7fbc126236 (diff)
downloaddino-6325a98cff72ecf7f58c6b29b5321f534e085766.tar.gz
dino-6325a98cff72ecf7f58c6b29b5321f534e085766.zip
Fix runtime criticals related to jingle file transfer
Diffstat (limited to 'xmpp-vala')
-rw-r--r--xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala b/xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala
index db2cd6a0..ea7ef375 100644
--- a/xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala
+++ b/xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala
@@ -292,7 +292,7 @@ class Parameters : Jingle.TransportParameters, Object {
}
remote_sent_selected_candidate = true;
remote_selected_candidate = candidate;
- debug("Remote selected candidate %s", candidate.cid);
+ debug("Remote selected candidate %s", candidate != null ? candidate.cid : "(null)");
try_completing_negotiation();
}
private void handle_activated(string cid) throws Jingle.IqError {