aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/core
diff options
context:
space:
mode:
authorselurvedu <11262062+selurvedu@users.noreply.github.com>2021-03-01 05:16:47 +0000
committerfiaxh <git@lightrise.org>2021-08-09 18:52:07 +0200
commitf15982de722de9125d3794fbecd1e23b0a4b4915 (patch)
tree32defb46159decf5e947dd03f13496946f613de8 /xmpp-vala/src/core
parent83fcc295fec9efd04136b4788c4e6b161788ceb4 (diff)
downloaddino-f15982de722de9125d3794fbecd1e23b0a4b4915.tar.gz
dino-f15982de722de9125d3794fbecd1e23b0a4b4915.zip
Unify connection debug messages
Diffstat (limited to 'xmpp-vala/src/core')
-rw-r--r--xmpp-vala/src/core/direct_tls_xmpp_stream.vala4
-rw-r--r--xmpp-vala/src/core/starttls_xmpp_stream.vala4
2 files changed, 4 insertions, 4 deletions
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
+}