httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Fri, 15 Mar 2002 09:50:15 GMT
striker     02/03/15 01:50:15

  Modified:    server   config.c
  Log:
  Since noone seemed to have a real problem with it, change !! to
  something that raises fewer questions.
  
  Revision  Changes    Path
  1.147     +1 -1      httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.146
  retrieving revision 1.147
  diff -u -r1.146 -r1.147
  --- config.c	13 Mar 2002 20:47:59 -0000	1.146
  +++ config.c	15 Mar 2002 09:50:14 -0000	1.147
  @@ -393,7 +393,7 @@
        * 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 */
  
  
  

Mime
View raw message