mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user