httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r358040 - /httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c
Date Tue, 20 Dec 2005 17:10:42 GMT
Author: wrowe
Date: Tue Dec 20 09:10:38 2005
New Revision: 358040

URL: http://svn.apache.org/viewcvs?rev=358040&view=rev
Log:

  This shift was treated in 32 bit scope, then masked to 64 bits,
  which was probably quite uncool.

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c?rev=358040&r1=358039&r2=358040&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c Tue Dec 20 09:10:38 2005
@@ -576,7 +576,7 @@
     /* Loop through the requirements array until there's no elements
      * left, or something causes a return from inside the loop */
     for(x=0; x < reqs_arr->nelts; x++) {
-        if (! (reqs[x].method_mask & (1 << m))) {
+        if (! (reqs[x].method_mask & (APR_INT64_C(1) << m))) {
             continue;
         }
         method_restricted = 1;



Mime
View raw message