summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index ba1110d..076cc33 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -3242,7 +3242,7 @@ static QString qt_ACE_do(const QString &domain, AceOperation op)
int idx = nextDotDelimiter(domain, lastIdx);
int labelLength = idx - lastIdx;
if (labelLength == 0) {
- if (idx == domain.length() && idx > 0)
+ if (idx == domain.length())
break;
return QString(); // two delimiters in a row -- empty label not allowed
}