summaryrefslogtreecommitdiff
path: root/src/mod_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_proxy.c')
-rw-r--r--src/mod_proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_proxy.c b/src/mod_proxy.c
index 0fe8e619..ad9b28b1 100644
--- a/src/mod_proxy.c
+++ b/src/mod_proxy.c
@@ -767,8 +767,8 @@ static handler_t proxy_create_env(server *srv, gw_handler_ctx *gwhctx) {
}
/* request header */
- for (size_t i = 0, used = con->request.headers->used; i < used; ++i) {
- data_string *ds = (data_string *)con->request.headers->data[i];
+ for (size_t i = 0, used = con->request.headers.used; i < used; ++i) {
+ data_string *ds = (data_string *)con->request.headers.data[i];
const size_t klen = buffer_string_length(&ds->key);
size_t vlen;
switch (klen) {