From 26c00bfaf2ce4031b648b3a48c282b2ce96d1c64 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Tue, 7 Mar 2023 08:07:05 +0000 Subject: [PATCH] * Fix 'warning: suggest parentheses around assignment used as truth value' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908152 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/fs/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dav/fs/quota.c b/modules/dav/fs/quota.c index 8dedfeae610..1c278906421 100644 --- a/modules/dav/fs/quota.c +++ b/modules/dav/fs/quota.c @@ -320,7 +320,7 @@ int dav_fs_quota_precondition(request_rec *r, /* * If PUT has Content-Length, we can forecast overquota */ - if (lenhdr = apr_table_get(r->headers_in, "Content-Length")) { + if ((lenhdr = apr_table_get(r->headers_in, "Content-Length"))) { if (!ap_parse_strict_length(&size, lenhdr)) { status = HTTP_BAD_REQUEST; *err = dav_new_error(r->pool, status, 0, 0, -- 2.47.3