summaryrefslogtreecommitdiff
path: root/http/utility.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/utility.hpp')
-rw-r--r--http/utility.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/utility.hpp b/http/utility.hpp
index 1d6750098f..da174e538f 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -497,7 +497,7 @@ inline void setProtocolDefaults(boost::urls::url& url,
}
if (url.port_number() == 80)
{
- if (bmcwebInsecureEnableHttpPushStyleEventing)
+ if constexpr (BMCWEB_INSECURE_PUSH_STYLE_NOTIFICATION)
{
url.set_scheme("http");
}