diff options
author | fiaxh <git@lightrise.org> | 2020-12-31 23:19:06 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-12-31 23:19:06 +0100 |
commit | 2c22c0428cb53252930d52e6327f14a6fcc8cf03 (patch) | |
tree | a282774719bd346c47df955b7b35b7754fbf130d /libdino/src/service/registration.vala | |
parent | c7b242a72e411f54192ae74f0bebaf090c4dc17a (diff) | |
download | dino-2c22c0428cb53252930d52e6327f14a6fcc8cf03.tar.gz dino-2c22c0428cb53252930d52e6327f14a6fcc8cf03.zip |
Fix segfault on accept_certificate signal (fixup 81a5505)
Diffstat (limited to 'libdino/src/service/registration.vala')
-rw-r--r-- | libdino/src/service/registration.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdino/src/service/registration.vala b/libdino/src/service/registration.vala index 365f31b0..4255f322 100644 --- a/libdino/src/service/registration.vala +++ b/libdino/src/service/registration.vala @@ -30,7 +30,7 @@ public class Register : StreamInteractionModule, Object{ list.add(new Sasl.Module(account.bare_jid.to_string(), account.password)); XmppStreamResult stream_result = yield Xmpp.establish_stream(account.bare_jid.domain_jid, list, Application.print_xmpp, - (_, peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(account.domainpart, peer_cert, errors); } + (peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(account.domainpart, peer_cert, errors); } ); if (stream_result.stream == null) { @@ -83,7 +83,7 @@ public class Register : StreamInteractionModule, Object{ list.add(new Iq.Module()); XmppStreamResult stream_result = yield Xmpp.establish_stream(jid.domain_jid, list, Application.print_xmpp, - (_, peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } + (peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } ); if (stream_result.stream == null) { @@ -137,7 +137,7 @@ public class Register : StreamInteractionModule, Object{ list.add(new Xep.InBandRegistration.Module()); XmppStreamResult stream_result = yield Xmpp.establish_stream(jid.domain_jid, list, Application.print_xmpp, - (_, peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } + (peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } ); if (stream_result.stream == null) { @@ -188,7 +188,7 @@ public class Register : StreamInteractionModule, Object{ list.add(new Xep.InBandRegistration.Module()); XmppStreamResult stream_result = yield Xmpp.establish_stream(jid.domain_jid, list, Application.print_xmpp, - (_, peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } + (peer_cert, errors) => { return ConnectionManager.on_invalid_certificate(jid.domainpart, peer_cert, errors); } ); if (stream_result.stream == null) { |