From kde-commits Sat Aug 02 19:31:30 2008 From: Laurent Montel Date: Sat, 02 Aug 2008 19:31:30 +0000 To: kde-commits Subject: KDE/kdepim/kresources/groupwise/soap Message-Id: <1217705490.733080.26560.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121770550104218 SVN commit 841214 by mlaurent: Add const M +2 -2 groupwiseserver.cpp --- trunk/KDE/kdepim/kresources/groupwise/soap/groupwiseserver.cpp #841213:841214 @@ -135,7 +135,7 @@ if ( !sslErrors.isEmpty() ) { // ignore untrusted certs for now, we can't handle it async bool untrusted = false; - foreach( KSslError err, sslErrors ) { + foreach( const KSslError& err, sslErrors ) { if ( err.error() == KSslError::UntrustedCertificate ) { untrusted = true; break; @@ -1440,7 +1440,7 @@ { bool untrusted = false; - foreach( KSslError err, errors ) { + foreach( const KSslError& err, errors ) { // ignore untrusted certs for now, we can't handle it async if ( err.error() == KSslError::UntrustedCertificate ) { untrusted = true;