From f15982de722de9125d3794fbecd1e23b0a4b4915 Mon Sep 17 00:00:00 2001 From: selurvedu <11262062+selurvedu@users.noreply.github.com> Date: Mon, 1 Mar 2021 05:16:47 +0000 Subject: Unify connection debug messages --- xmpp-vala/src/core/direct_tls_xmpp_stream.vala | 4 ++-- xmpp-vala/src/core/starttls_xmpp_stream.vala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'xmpp-vala/src') diff --git a/xmpp-vala/src/core/direct_tls_xmpp_stream.vala b/xmpp-vala/src/core/direct_tls_xmpp_stream.vala index 93c7e448..43b7114a 100644 --- a/xmpp-vala/src/core/direct_tls_xmpp_stream.vala +++ b/xmpp-vala/src/core/direct_tls_xmpp_stream.vala @@ -14,7 +14,7 @@ public class Xmpp.DirectTlsXmppStream : TlsXmppStream { public override async void connect() throws IOStreamError { SocketClient client = new SocketClient(); try { - debug("Connecting to %s %i (tls)", host, port); + debug("Connecting to %s:%i (tls)", host, port); IOStream? io_stream = yield client.connect_to_host_async(host, port); TlsConnection tls_connection = TlsClientConnection.new(io_stream, new NetworkAddress(remote_name.to_string(), port)); #if ALPN_SUPPORT @@ -31,4 +31,4 @@ public class Xmpp.DirectTlsXmppStream : TlsXmppStream { throw new IOStreamError.CONNECT("Failed connecting to %s:%i (tls): %s", host, port, e.message); } } -} \ No newline at end of file +} diff --git a/xmpp-vala/src/core/starttls_xmpp_stream.vala b/xmpp-vala/src/core/starttls_xmpp_stream.vala index ed5fbdda..2334f664 100644 --- a/xmpp-vala/src/core/starttls_xmpp_stream.vala +++ b/xmpp-vala/src/core/starttls_xmpp_stream.vala @@ -16,7 +16,7 @@ public class Xmpp.StartTlsXmppStream : TlsXmppStream { public override async void connect() throws IOStreamError { try { SocketClient client = new SocketClient(); - debug("Connecting to %s %i (starttls)", host, port); + debug("Connecting to %s:%i (starttls)", host, port); IOStream stream = yield client.connect_to_host_async(host, port); reset_stream(stream); @@ -54,4 +54,4 @@ public class Xmpp.StartTlsXmppStream : TlsXmppStream { throw new IOStreamError.CONNECT("Failed connecting to %s:%i (starttls): %s", host, port, e.message); } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2