From 6325a98cff72ecf7f58c6b29b5321f534e085766 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 18 Sep 2020 11:51:46 +0200 Subject: Fix runtime criticals related to jingle file transfer --- xmpp-vala/src/module/xep/0260_jingle_socks5_bytestreams.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/src/module/xep') 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 { -- cgit v1.2.3-70-g09d2