summaryrefslogtreecommitdiff
path: root/methods/basehttp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/basehttp.cc')
-rw-r--r--methods/basehttp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/basehttp.cc b/methods/basehttp.cc
index d335e6fa0..db0ed228f 100644
--- a/methods/basehttp.cc
+++ b/methods/basehttp.cc
@@ -330,7 +330,7 @@ static std::string fixURIEncoding(std::string const &part)
{
// if the server sends a space this is not an encoded URI
// so other clients seem to encode it and we do it as well
- if (part.find_first_of(" ") != std::string::npos)
+ if (part.find_first_of(' ') != std::string::npos)
return aptMethod::URIEncode(part);
return part;
}