httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental cache_util.c
Date Mon, 04 Feb 2002 14:48:55 GMT
stoddard    02/02/04 06:48:55

  Modified:    modules/experimental cache_util.c
  Log:
  Bringing up some code to our coding style guidelines
  
  Revision  Changes    Path
  1.10      +5 -5      httpd-2.0/modules/experimental/cache_util.c
  
  Index: cache_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/cache_util.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- cache_util.c	4 Feb 2002 04:43:34 -0000	1.9
  +++ cache_util.c	4 Feb 2002 14:48:55 -0000	1.10
  @@ -272,11 +272,11 @@
        * 5 x 3 bytes + 1 byte -> 5 * 4 characters + 2 characters
        */
       for (i = 0, k = 0; i < 15; i += 3) {
  -    x = (digest[i] << 16) | (digest[i + 1] << 8) | digest[i + 2];
  -    tmp[k++] = enc_table[x >> 18];
  -    tmp[k++] = enc_table[(x >> 12) & 0x3f];
  -    tmp[k++] = enc_table[(x >> 6) & 0x3f];
  -    tmp[k++] = enc_table[x & 0x3f];
  +        x = (digest[i] << 16) | (digest[i + 1] << 8) | digest[i + 2];
  +        tmp[k++] = enc_table[x >> 18];
  +        tmp[k++] = enc_table[(x >> 12) & 0x3f];
  +        tmp[k++] = enc_table[(x >> 6) & 0x3f];
  +        tmp[k++] = enc_table[x & 0x3f];
       }
   
       /* one byte left */
  
  
  

Mime
View raw message