]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Since noone seemed to have a real problem with it, change !! to
authorSander Striker <striker@apache.org>
Fri, 15 Mar 2002 09:50:14 +0000 (09:50 +0000)
committerSander Striker <striker@apache.org>
Fri, 15 Mar 2002 09:50:14 +0000 (09:50 +0000)
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

index 016a40b07e066c86699b86301a353ee3f5445542..e2f3578529139b19d4ef49d5753cca37aaf19cbb 100644 (file)
@@ -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 */