Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 30134 invoked by uid 500); 28 Jun 2002 22:49:24 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 30122 invoked from network); 28 Jun 2002 22:49:24 -0000 Date: 28 Jun 2002 22:49:24 -0000 Message-ID: <20020628224924.62510.qmail@icarus.apache.org> From: jwoolley@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/tables apr_tables.c X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N 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;