summaryrefslogtreecommitdiffstats
path: root/modules/dav/main/mod_dav.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dav/main/mod_dav.c')
-rw-r--r--modules/dav/main/mod_dav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c
index 42d3abaa75..1b18cb2833 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -2342,7 +2342,7 @@ static int dav_method_proppatch(request_rec *r)
/* Ignore children that are not set/remove */
if (child->ns != APR_XML_NS_DAV_ID
- || (!(is_remove = strcmp(child->name, "remove") == 0)
+ || (!(is_remove = (strcmp(child->name, "remove") == 0))
&& strcmp(child->name, "set") != 0)) {
continue;
}