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

List:       kde-commits
Subject:    KDE/kdelibs/kioslave/http
From:       John Layt <john () layt ! net>
Date:       2009-12-01 15:26:11
Message-ID: 1259681171.066526.5393.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1057136 by jlayt:

krazy fixes


 M  +2 -2      http.cpp  


--- trunk/KDE/kdelibs/kioslave/http/http.cpp #1057135:1057136
@@ -1376,7 +1376,7 @@
 
   // The server returns a HTTP/1.1 200 Ok or HTTP/1.1 204 No Content
   // on successful completion
-  if ( m_protocol.startsWith( "webdav" ) ) {
+  if ( m_protocol.startsWith( "webdav" ) ) { // krazy:exclude=strings
     if ( m_request.responseCode == 200 || m_request.responseCode == 204 )
       davFinished();
     else
@@ -2107,7 +2107,7 @@
         KUrl u;
 
         QString protocol = m_protocol;
-        if (protocol.startsWith("webdav")) {
+        if (protocol.startsWith(QLatin1String("webdav"))) {
             protocol.replace(0, strlen("webdav"), "http");
         }
         u.setProtocol(protocol);
[prev in list] [next in list] [prev in thread] [next in thread] 

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