1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-12-27 21:35:41 +00:00

Warning fix for clang.

This commit is contained in:
King_DuckZ 2017-06-16 21:42:43 +01:00
parent 61170dc371
commit 0dd4f712a8

View file

@ -111,7 +111,7 @@ namespace kamokan {
if (not host_port.empty()) { if (not host_port.empty()) {
if (host_port == "from_downstream") { if (host_port == "from_downstream") {
const uint16_t port = parCgiEnv->server_port(); 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; oss << ':' << port;
} }
} }