summaryrefslogtreecommitdiff
path: root/usr.sbin/nscd/query.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2009-06-13 01:22:56 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2009-06-13 01:22:56 +0000
commit27f2bc9e1b765ebcf2f94e7bac4d7db36c508754 (patch)
treef86e6d11570ea99885e6d55c1a676a0240a08255 /usr.sbin/nscd/query.c
parent51d6ddb5d1f4316ec34e88d5bb862a36909251e3 (diff)
Notes
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);