summaryrefslogtreecommitdiff
path: root/usr.sbin/nscd/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nscd/query.c')
-rw-r--r--usr.sbin/nscd/query.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/nscd/query.c b/usr.sbin/nscd/query.c
index f927ac5cf7e6..fff6aff1ef1e 100644
--- a/usr.sbin/nscd/query.c
+++ b/usr.sbin/nscd/query.c
@@ -437,7 +437,7 @@ on_write_request_process(struct query_state *qstate)
configuration_lock_rdlock(s_configuration);
c_entry = find_cache_entry(s_cache,
- qstate->config_entry->positive_cache_params.entry_name);
+ qstate->config_entry->positive_cache_params.cep.entry_name);
configuration_unlock(s_configuration);
if (c_entry != NULL) {
configuration_lock_entry(qstate->config_entry, CELT_POSITIVE);
@@ -518,7 +518,7 @@ on_negative_write_request_process(struct query_state *qstate)
configuration_lock_rdlock(s_configuration);
c_entry = find_cache_entry(s_cache,
- qstate->config_entry->negative_cache_params.entry_name);
+ qstate->config_entry->negative_cache_params.cep.entry_name);
configuration_unlock(s_configuration);
if (c_entry != NULL) {
configuration_lock_entry(qstate->config_entry, CELT_NEGATIVE);
@@ -710,9 +710,9 @@ on_read_request_process(struct query_state *qstate)
configuration_lock_rdlock(s_configuration);
c_entry = find_cache_entry(s_cache,
- qstate->config_entry->positive_cache_params.entry_name);
+ qstate->config_entry->positive_cache_params.cep.entry_name);
neg_c_entry = find_cache_entry(s_cache,
- qstate->config_entry->negative_cache_params.entry_name);
+ qstate->config_entry->negative_cache_params.cep.entry_name);
configuration_unlock(s_configuration);
if ((c_entry != NULL) && (neg_c_entry != NULL)) {
configuration_lock_entry(qstate->config_entry, CELT_POSITIVE);