From 7bc6e0dce736da57826bdfe710c754d14cc59f4c Mon Sep 17 00:00:00 2001 From: Sander Striker Date: Fri, 15 Mar 2002 09:50:14 +0000 Subject: [PATCH] Since noone seemed to have a real problem with it, change !! to something that raises fewer questions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93949 13f79535-47bb-0310-9956-ffa450edef68 --- server/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.40.0