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

List:       kde-commits
Subject:    KDE/kdepimlibs/kldap (silent)
From:       Allen Winter <winter () kde ! org>
Date:       2009-04-13 21:08:36
Message-ID: 1239656916.733100.6247.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 953398 by winterz:

minor coding style.
SVN_SILENT:


 M  +3 -1      ldapconnection.cpp  
 M  +1 -1      ldapsearch.cpp  


--- trunk/KDE/kdepimlibs/kldap/ldapconnection.cpp #953397:953398
@@ -285,7 +285,9 @@
   if ( timeout ) {
     if ( setOption( LDAP_OPT_TIMEOUT, &timeout ) != LDAP_OPT_SUCCESS ) {
       ret = ldapErrorCode();
-      d->mConnectionError = i18np( "Cannot set timeout to %1 second.", "Cannot set \
timeout to %1 seconds.", timeout ); +      d->mConnectionError = i18np( "Cannot set \
timeout to %1 second.", +                                   "Cannot set timeout to %1 \
seconds.", +                                   timeout );
       close();
       return ret;
     }
--- trunk/KDE/kdepimlibs/kldap/ldapsearch.cpp #953397:953398
@@ -230,7 +230,7 @@
     } else {
       mError = mConn->ldapErrorCode();
       mErrorString = mConn->ldapErrorString();
-      if ( mError == -1 && mErrorString.isEmpty()) {
+      if ( mError == -1 && mErrorString.isEmpty() ) {
         mErrorString = i18n( "Cannot access to server. Please reconfigure it." );
       }
     }


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

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