aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/core/starttls_xmpp_stream.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-08-19 12:17:23 +0200
committerfiaxh <git@lightrise.org>2024-08-19 12:28:45 +0200
commitdc57561dcffda62d01618c72e0bbf5c5a45c2114 (patch)
treef2336f1d6bef1b1a7b37577d444c4141a51fbc39 /xmpp-vala/src/core/starttls_xmpp_stream.vala
parent88376cd6f75d5057caa6582d0a82fc76bb7b388f (diff)
downloaddino-dc57561dcffda62d01618c72e0bbf5c5a45c2114.tar.gz
dino-dc57561dcffda62d01618c72e0bbf5c5a45c2114.zip
Add cancellable to stream connect
Diffstat (limited to 'xmpp-vala/src/core/starttls_xmpp_stream.vala')
-rw-r--r--xmpp-vala/src/core/starttls_xmpp_stream.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/core/starttls_xmpp_stream.vala b/xmpp-vala/src/core/starttls_xmpp_stream.vala
index 0d4fbc7d..01c75207 100644
--- a/xmpp-vala/src/core/starttls_xmpp_stream.vala
+++ b/xmpp-vala/src/core/starttls_xmpp_stream.vala
@@ -17,7 +17,7 @@ public class Xmpp.StartTlsXmppStream : TlsXmppStream {
try {
SocketClient client = new SocketClient();
debug("Connecting to %s:%i (starttls)", host, port);
- IOStream stream = yield client.connect_to_host_async(host, port);
+ IOStream stream = yield client.connect_to_host_async(host, port, cancellable);
reset_stream(stream);
yield setup();