summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-06-28 22:49:24 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-06-28 22:49:24 +0000
commitf7e8953df036b9d8a1a8908f2cb69440bd384c43 (patch)
treee6bc0421445855cb4c6205947051e78ce3c93cb9 /tables
parent359f7c57f6f1200ac9b55bd4c26575aed3fe8f43 (diff)
downloadlibapr-f7e8953df036b9d8a1a8908f2cb69440bd384c43.tar.gz
yikes, didn't even notice those tabs there.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r--tables/apr_tables.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tables/apr_tables.c b/tables/apr_tables.c
index ad050c89c..f23f8630b 100644
--- a/tables/apr_tables.c
+++ b/tables/apr_tables.c
@@ -751,16 +751,16 @@ APR_DECLARE(int) apr_table_vdo(apr_table_do_callback_fn_t *comp,
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;