summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2012-02-03 14:47:59 +0100
committerMladen Turk <mturk@apache.org>2012-02-03 14:47:59 +0100
commit7fac08440e61809da50783acc978b5641657376c (patch)
tree66d6d7697c5d1bd655c9918c81dd31beef03386a /modules
parentTypo correction. Rebuild xhtml transformation (diff)
downloadapache2-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.c6
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;
}