From 4872b59fac4ac0cd636cf904979acbfc9103ec61 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Fri, 29 May 2020 17:18:09 -0700 Subject: [PATCH] fix windows build (or operator is not supported || is required --- ixwebsocket/IXHttpServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixwebsocket/IXHttpServer.cpp b/ixwebsocket/IXHttpServer.cpp index 78378b06..e2e370f9 100644 --- a/ixwebsocket/IXHttpServer.cpp +++ b/ixwebsocket/IXHttpServer.cpp @@ -164,7 +164,7 @@ namespace ix std::string content = res.second; std::string acceptEncoding = request->headers["Accept-encoding"]; - if (acceptEncoding == "gzip" or acceptEncoding == "*") + if (acceptEncoding == "gzip" || acceptEncoding == "*") { content = gzipCompress(content); }