summaryrefslogtreecommitdiff
path: root/methods/mirror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/mirror.cc')
-rw-r--r--methods/mirror.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc
index 6da0b4258..6fbaa40e6 100644
--- a/methods/mirror.cc
+++ b/methods/mirror.cc
@@ -334,7 +334,7 @@ std::string MirrorMethod::GetMirrorFileURI(std::string const &Message, FetchItem
auto const colon = uristr.find(':');
if (unlikely(colon == std::string::npos))
continue;
- auto const plus = uristr.find("+");
+ auto const plus = uristr.find('+');
if (plus < colon)
{
// started as tor+mirror+http we want to get the file via tor+http