From f1a96d74e5f4336adabdfa507fd43cb4c809106d Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 29 May 2025 00:48:13 +0100 Subject: [PATCH] Fix potentially ambiguous conditionals --- indra/llcorehttp/_httplibcurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcorehttp/_httplibcurl.cpp b/indra/llcorehttp/_httplibcurl.cpp index 896ac1c6d8..4cf482f8b7 100644 --- a/indra/llcorehttp/_httplibcurl.cpp +++ b/indra/llcorehttp/_httplibcurl.cpp @@ -433,7 +433,7 @@ bool HttpLibcurl::completeRequest(CURLM * multi_handle, CURL * handle, CURLcode if (!bFailed && (op->mReqOffset || op->mReqLength)) { // We should only check the offset and length if we are handling a partial content request. - if (op->mStatus == HttpStatus(HTTP_PARTIAL_CONTENT) && op->mReqOffset != op->mReplyOffset || (op->mReqLength && op->mReqLength < op->mReplyLength)) + if ((op->mStatus == HttpStatus(HTTP_PARTIAL_CONTENT)) && (op->mReqOffset != op->mReplyOffset) || (op->mReqLength && op->mReqLength < op->mReplyLength)) { std::stringstream strm; strm << "HTTP pipelining possibly out of sync, request wanted: " << op->mReqOffset << "-";