From 0dd4f712a8695e9b3281ea7e2e3ef3751b39cec8 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 16 Jun 2017 21:42:43 +0100 Subject: [PATCH] Warning fix for clang. --- src/kamokan_impl/response.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kamokan_impl/response.cpp b/src/kamokan_impl/response.cpp index 3f33954..29e19de 100644 --- a/src/kamokan_impl/response.cpp +++ b/src/kamokan_impl/response.cpp @@ -111,7 +111,7 @@ namespace kamokan { if (not host_port.empty()) { if (host_port == "from_downstream") { const uint16_t port = parCgiEnv->server_port(); - if ((80 != port and not parCgiEnv->https()) or 443 != port and parCgiEnv->https()) { + if ((80 != port and not parCgiEnv->https()) or (443 != port and parCgiEnv->https())) { oss << ':' << port; } }