jwoolley    2002/06/28 15:49:24

  Modified:    tables   apr_tables.c
  Log:
  yikes, didn't even notice those tabs there.
  
  Revision  Changes    Path
  1.29      +8 -8      apr/tables/apr_tables.c
  
  Index: apr_tables.c
  ===================================================================
  RCS file: /home/cvs/apr/tables/apr_tables.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -d -u -r1.28 -r1.29
  --- apr_tables.c      28 Jun 2002 22:45:38 -0000      1.28
  +++ apr_tables.c      28 Jun 2002 22:49:24 -0000      1.29
  @@ -751,16 +751,16 @@
           if (argp) {
               COMPUTE_KEY_CHECKSUM(argp, checksum);
           }
  -     for (rv = 1, i = 0; rv && (i < t->a.nelts); ++i) {
  -         if (elts[i].key && (!argp ||
  +        for (rv = 1, i = 0; rv && (i < t->a.nelts); ++i) {
  +            if (elts[i].key && (!argp ||
                                   ((checksum == elts[i].key_checksum) &&
                                    !strcasecmp(elts[i].key, argp)))) {
  -             rv = (*comp) (rec, elts[i].key, elts[i].val);
  -         }
  -     }
  -     if (rv == 0) {
  -         vdorv = 0;
  -     }
  +                rv = (*comp) (rec, elts[i].key, elts[i].val);
  +            }
  +        }
  +        if (rv == 0) {
  +            vdorv = 0;
  +        }
       } while (argp && ((argp = va_arg(vp, char *)) != NULL));
   
       return vdorv;
  
  
  

Reply via email to