[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kldap/tests
From:       Szombathelyi György <gyurco () freemail ! hu>
Date:       2007-09-02 10:50:06
Message-ID: 1188730206.834535.10053.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 707585 by gyurco:

Adopt to KLDAP bind() changes.


 M  +4 -2      testkldap.cpp  


--- trunk/KDE/kdepimlibs/kldap/tests/testkldap.cpp #707584:707585
@@ -183,8 +183,9 @@
   }
   QCOMPARE( ret, 0 );
 
+  LdapOperation op( conn );
   // Now attempt to bind
-  if ( (ret = conn.bind()) ) {
+  if ( (ret = op.bind_s()) ) {
     kDebug() << "Could not bind to server. Error was:" << conn.ldapErrorString();
   }
   QCOMPARE( ret, 0 );
@@ -252,7 +253,8 @@
   }
   QCOMPARE( ret, 0 );
 
-  if ( (ret = conn.bind()) ) {
+  LdapOperation op( conn );
+  if ( (ret = op.bind_s()) ) {
     kDebug() << "Could not bind to server. Error was:" << conn.ldapErrorString();
   }
   QCOMPARE( ret, 0 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic