]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/carp.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / carp.cc
index 957ddc47edf483e8fd9da0a8068105722deab19a..3d23feaad5b0f3f92882918b9194e0d04abe023d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -167,7 +167,7 @@ carpSelectParent(HttpRequest * request)
             // this code follows URI syntax pattern.
             // corner cases should use the full effective request URI
             if (tp->options.carp_key.scheme) {
-                key.append(request->url.getScheme().c_str());
+                key.append(request->url.getScheme().image());
                 if (key.length()) //if the scheme is not empty
                     key.append("://");
             }