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

List:       kde-commits
Subject:    KDE/kdewebdev/klinkstatus/src/parser
From:       Paulo Moura Guedes <moura () kdewebdev ! org>
Date:       2013-11-10 20:18:11
Message-ID: E1VfbSV-0004dM-Gp () scm ! kde ! org
[Download RAW message or body]

SVN commit 1369353 by mojo:

This fixes a nasty bug where host "www.host.de" would be considered the same as "other.de" 

 M  +1 -1      url.cpp  


--- trunk/KDE/kdewebdev/klinkstatus/src/parser/url.cpp #1369352:1369353
@@ -182,7 +182,7 @@
         return false;
 
     int i = 1;
-    while( ((int)(size1 - i) >= (int)aux) && ((int)(size2 - i) >= (int)aux) )
+    while( ((int)(size1 - i) >= (int)aux) && ((int)(size2 - i) >= (int)aux2) )
     {
         if( !(v1[size1 - i] == v2[size2 - i]) )
             return false;
[prev in list] [next in list] [prev in thread] [next in thread] 

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