summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/config.c b/server/config.c
index 016a40b07e..e2f3578529 100644
--- a/server/config.c
+++ b/server/config.c
@@ -393,7 +393,7 @@ AP_DECLARE(int) ap_method_is_limited(cmd_parms *cmd, const char *method)
* added by a module and registered.
*/
if (methnum != M_INVALID) {
- return !!(cmd->limited & (AP_METHOD_BIT << methnum));
+ return (cmd->limited & (AP_METHOD_BIT << methnum)) ? 1 : 0;
}
return 0; /* not found */