summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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,