From: Ruediger Pluem Date: Tue, 7 Mar 2023 08:07:05 +0000 (+0000) Subject: * Fix 'warning: suggest parentheses around assignment used as truth value' X-Git-Tag: 2.5.0-alpha2-ci-test-only~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c00bfaf2ce4031b648b3a48c282b2ce96d1c64;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- 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,