diff options
author | Sander Striker <striker@apache.org> | 2002-03-15 10:50:14 +0100 |
---|---|---|
committer | Sander Striker <striker@apache.org> | 2002-03-15 10:50:14 +0100 |
commit | 8537b65cb0c1ad9477982e843f5453207c3a338b (patch) | |
tree | 393605444f25f38f8e90a7f54d61c69d1ba0a72b /server | |
parent | Typo (noticed while browsing http://docx.webperf.org/) (diff) | |
download | apache2-8537b65cb0c1ad9477982e843f5453207c3a338b.tar.xz apache2-8537b65cb0c1ad9477982e843f5453207c3a338b.zip |
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
Diffstat (limited to 'server')
-rw-r--r-- | server/config.c | 2 |
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 */ |