summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debmetaindex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/deb/debmetaindex.cc')
-rw-r--r--apt-pkg/deb/debmetaindex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index b85163654..8fcb83678 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -1318,7 +1318,7 @@ class APT_HIDDEN debSLTypeDebian : public pkgSourceList::Type /*{{{*/
/// allows you to match a.b.c against itself, .b.c, and .c, but not b.c
static inline std::string NextLevelDomain(std::string Host)
{
- auto nextDot = Host.find(".", 1);
+ auto nextDot = Host.find('.', 1);
if (nextDot == Host.npos)
return "";
return Host.substr(nextDot);