summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reqs.c')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 310871c..041fb03 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -919,8 +919,8 @@ process_client_headers (struct conn_s *connptr, hashmap_t hashofheaders)
hashmap_return_entry (hashofheaders,
iter, &data, (void **) &header);
- if (!is_anonymous_enabled ()
- || anonymous_search (data) > 0) {
+ if (!is_anonymous_enabled (config)
+ || anonymous_search (config, data) > 0) {
ret =
write_message (connptr->server_fd,
"%s: %s\r\n", data, header);