summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nscd/mp_rs_query.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-06-13 01:22:56 +0000
committerdes <des@FreeBSD.org>2009-06-13 01:22:56 +0000
commit3301650689d23f8715f942eb1472cdfecaf4972f (patch)
treef86e6d11570ea99885e6d55c1a676a0240a08255 /usr.sbin/nscd/mp_rs_query.c
parent4523b4f7c6a153655b464fdf5ee2f78452e9365b (diff)
downloadFreeBSD-src-3301650689d23f8715f942eb1472cdfecaf4972f.zip
FreeBSD-src-3301650689d23f8715f942eb1472cdfecaf4972f.tar.gz
Explain to the compiler why the aliasing we're doing is OK.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/nscd/mp_rs_query.c')
-rw-r--r--usr.sbin/nscd/mp_rs_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/nscd/mp_rs_query.c b/usr.sbin/nscd/mp_rs_query.c
index 98e9090..81f128e 100644
--- a/usr.sbin/nscd/mp_rs_query.c
+++ b/usr.sbin/nscd/mp_rs_query.c
@@ -198,7 +198,7 @@ on_mp_read_session_request_process(struct query_state *qstate)
if (qstate->config_entry->perform_actual_lookups != 0)
dec_cache_entry_name = strdup(
- qstate->config_entry->mp_cache_params.entry_name);
+ qstate->config_entry->mp_cache_params.cep.entry_name);
else {
#ifdef NS_NSCD_EID_CHECKING
if (check_query_eids(qstate) != 0) {
@@ -208,7 +208,7 @@ on_mp_read_session_request_process(struct query_state *qstate)
#endif
asprintf(&dec_cache_entry_name, "%s%s", qstate->eid_str,
- qstate->config_entry->mp_cache_params.entry_name);
+ qstate->config_entry->mp_cache_params.cep.entry_name);
}
assert(dec_cache_entry_name != NULL);
OpenPOWER on IntegriCloud