summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2002-06-28 22:49:24 +0000
committerCliff Woolley <jwoolley@apache.org>2002-06-28 22:49:24 +0000
commite0e33d201d8bc8255e157b8695ea04694d1e9f48 (patch)
treee6bc0421445855cb4c6205947051e78ce3c93cb9 /tables
parentb6af2e2f165dbe5a491ef359c84d932abfad24f9 (diff)
downloadapr-e0e33d201d8bc8255e157b8695ea04694d1e9f48.tar.gz
yikes, didn't even notice those tabs there.
git-svn-id: https://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;