summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc
index 4404259d8..0700de0f6 100644
--- a/cmdline/apt-helper.cc
+++ b/cmdline/apt-helper.cc
@@ -117,7 +117,7 @@ static bool DoSrvLookup(CommandLine &CmdL) /*{{{*/
std::vector<SrvRec> srv_records;
std::string const name = CmdL.FileList[i];
c0out << "# Target\tPriority\tWeight\tPort # for " << name << std::endl;
- size_t const found = name.find(":");
+ size_t const found = name.find(':');
if (found != std::string::npos)
{
std::string const host = name.substr(0, found);