summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2023-03-07 08:07:05 +0000
committerRuediger Pluem <rpluem@apache.org>2023-03-07 08:07:05 +0000
commit26c00bfaf2ce4031b648b3a48c282b2ce96d1c64 (patch)
tree739a3a54ba5c1f5317728a48c2b900f0f6af59d9 /modules
parent669e51165491989cb2a7a33b421cf112ea9c79a0 (diff)
downloadhttpd-26c00bfaf2ce4031b648b3a48c282b2ce96d1c64.tar.gz
* 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
Diffstat (limited to 'modules')
-rw-r--r--modules/dav/fs/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/fs/quota.c b/modules/dav/fs/quota.c
index 8dedfeae61..1c27890642 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,