httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Tue, 07 Aug 2001 18:37:05 GMT
wrowe       01/08/07 11:37:05

  Modified:    modules/http http_protocol.c
  Log:
    Must return something in the 2^32 domain (preferably one, as shown here),
    not in the 2^64 domain.
  
  Revision  Changes    Path
  1.345     +1 -1      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.344
  retrieving revision 1.345
  diff -u -r1.344 -r1.345
  --- http_protocol.c	2001/08/07 17:57:44	1.344
  +++ http_protocol.c	2001/08/07 18:37:04	1.345
  @@ -2053,7 +2053,7 @@
        */
       methnum = ap_method_number_of(method);
       if (methnum != M_INVALID) {
  -        return (l->method_mask & (1 << methnum));
  +        return !!(l->method_mask & (1 << methnum));
       }
       /*
        * Otherwise, see if the method name is in the array or string names
  
  
  

Mime
View raw message