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

List:       kde-commits
Subject:    kdebase/kioslave/ldap
From:       Laurent Montel <montel () kde ! org>
Date:       2003-09-07 21:11:08
[Download RAW message or body]

CVS commit by mlaurent: 

Deprecated--


  M +5 -5      kio_ldap.cpp   1.26


--- kdebase/kioslave/ldap/kio_ldap.cpp  #1.25:1.26
@@ -91,5 +91,5 @@ void LDAPProtocol::get(const KURL &_url)
 
   // check if the URL is a valid LDAP URL
-  if (usrc.isMalformed()) {
+  if (!usrc.isValid()) {
     error(ERR_MALFORMED_URL, _url.prettyURL());
     return;
@@ -177,5 +177,5 @@ void LDAPProtocol::stat( const KURL &_ur
 
   // check if the URL is a valid LDAP URL
-  if (usrc.isMalformed()) {
+  if (!usrc.isValid()) {
     error(ERR_MALFORMED_URL, _url.prettyURL());
     return;
@@ -279,5 +279,5 @@ void LDAPProtocol::mimetype(const KURL &
   kdDebug(7125) << "kio_ldap: mimetype(" << _url << ")" << endl;
   KLDAP::Url usrc(_url);
-  if (usrc.isMalformed()) {
+  if (!usrc.isValid()) {
     error(ERR_MALFORMED_URL, _url);
     return;
@@ -309,5 +309,5 @@ void LDAPProtocol::listDir(const KURL &_
 
   // check if the URL is a valid LDAP URL
-  if (usrc.isMalformed()) {
+  if (!usrc.isValid()) {
     error(ERR_MALFORMED_URL, _url.prettyURL());
     return;


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

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