[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:58:17 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=259d275

The following commit has been merged in the master branch:
commit 259d27533058421e5b31b69c7c1372681fb92e98
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Thu Oct 13 18:58:59 2011 +0200

    Add a couple of assertions
---
 sasl-handler.cpp | 2 ++
 tls-handler.cpp  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sasl-handler.cpp b/sasl-handler.cpp
index 54adf76..4026b78 100644
--- a/sasl-handler.cpp
+++ b/sasl-handler.cpp
@@ -59,6 +59,8 @@ void SaslHandler::handleChannels(const Tp::MethodInvocationContextPtr<> &context
     Q_UNUSED(userActionTime);
     Q_UNUSED(handlerInfo);
 
+    Q_ASSERT(channels.size() == 1);
+
     KTelepathy::TelepathyHandlerApplication::newJob();
     SaslAuthOp *auth = new SaslAuthOp(
             account, connection, channels.first(), m_wallet);
diff --git a/tls-handler.cpp b/tls-handler.cpp
index 840b0e6..c535af5 100644
--- a/tls-handler.cpp
+++ b/tls-handler.cpp
@@ -56,6 +56,8 @@ void TlsHandler::handleChannels(const Tp::MethodInvocationContextPtr<> &context,
     Q_UNUSED(userActionTime);
     Q_UNUSED(handlerInfo);
 
+    Q_ASSERT(channels.size() == 1);
+
     KTelepathy::TelepathyHandlerApplication::newJob();
     TlsCertVerifierOp *verifier = new TlsCertVerifierOp(
             account, connection, channels.first());

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list