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

List:       kde-commits
Subject:    KDE/kdebase/kioslave/ldap
From:       Frerich Raabe <raabe () kde ! org>
Date:       2005-08-18 17:19:40
Message-ID: 1124385580.873030.25045.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 450627 by raabe:

- Compile


 M  +2 -2      kio_ldap.cpp  


--- trunk/KDE/kdebase/kioslave/ldap/kio_ldap.cpp #450626:450627
@@ -199,7 +199,7 @@
   if ( count > 0 ) {
     attrs = static_cast<char**>( malloc((count+1) * sizeof(char*)) );
     for (int i=0; i<count; i++)
-      attrs[i] = strdup( (*usrc.attributes().at(i)).utf8() );
+      attrs[i] = strdup( usrc.attributes().at(i).utf8() );
     attrs[count] = 0;
   }  
   
@@ -1078,7 +1078,7 @@
     return;
   }
 
-  usrc.setAttributes( "" );
+  usrc.setAttributes( QStringList() << "" );
   usrc.setExtension( "x-dir", "base" );
   // publish the results
   UDSEntry uds;
[prev in list] [next in list] [prev in thread] [next in thread] 

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