apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr-util/misc apr_rmm.c
Date Tue, 30 Apr 2002 08:26:47 GMT
jerenkrantz    02/04/30 01:26:47

  Modified:    misc     apr_rmm.c
  Log:
  The style police come before the bug police.  (Bug police are on the case.)
  
  Revision  Changes    Path
  1.13      +5 -5      apr-util/misc/apr_rmm.c
  
  Index: apr_rmm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/misc/apr_rmm.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- apr_rmm.c	15 Mar 2002 01:41:32 -0000	1.12
  +++ apr_rmm.c	30 Apr 2002 08:26:47 -0000	1.13
  @@ -89,7 +89,7 @@
       while (next) {
           struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next);
   
  -	if (find == next)
  +        if (find == next)
               return next;
   
           /* Overshot? */
  @@ -97,7 +97,7 @@
               return includes ? prev : 0;
   
           prev = next;
  -	next = blk->next;
  +        next = blk->next;
       }
       return 0;
   }
  @@ -111,8 +111,8 @@
       while (next) {
           struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next);
   
  -	if (blk->size == size)
  -	    return next;
  +    if (blk->size == size)
  +        return next;
   
           if (blk->size >= size) {
               /* XXX: sub optimal algorithm 
  @@ -125,7 +125,7 @@
               }
           }
   
  -	next = blk->next;
  +        next = blk->next;
       }
   
       if (bestsize - size > MIN_BLK_SIZE) {
  
  
  

Mime
View raw message