diff options
author | Mladen Turk <mturk@apache.org> | 2012-02-03 14:47:59 +0100 |
---|---|---|
committer | Mladen Turk <mturk@apache.org> | 2012-02-03 14:47:59 +0100 |
commit | 7fac08440e61809da50783acc978b5641657376c (patch) | |
tree | 66d6d7697c5d1bd655c9918c81dd31beef03386a /modules | |
parent | Typo correction. Rebuild xhtml transformation (diff) | |
download | apache2-7fac08440e61809da50783acc978b5641657376c.tar.xz apache2-7fac08440e61809da50783acc978b5641657376c.zip |
C/C++ 101 on how to traverse the array of pointers ;). Fix core
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1240164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/proxy/mod_proxy_balancer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index 0fb22edd1a..3660ad6cd7 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -877,9 +877,9 @@ static void push2table(const char *input, apr_table_t *params, apr_table_set(params, key, val); } else { - const char *ok = *allowed; - while (ok) { - if (strcmp(ok, key) == 0) { + const char **ok = *allowed; + while (*ok) { + if (strcmp(*ok, key) == 0) { apr_table_set(params, key, val); break; } |