From 6a02dd9d921d1567ffc9774da78951ff70115029 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 16 Aug 2007 13:44:15 +0000 Subject: [PATCH] Fix typo in previous commit: spurious space in UUID syntax OID. Also make remove_query_and_data() return void (it returned nothing) and remove an unused variable. --- servers/slapd/overlays/pcache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index baaaa5dcaa..78fff8b3cf 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1498,7 +1498,7 @@ struct search_info { Entry *head, *tail; }; -static int +static void remove_query_and_data( Operation *op, SlapReply *rs, @@ -1671,7 +1671,6 @@ cache_entries( struct search_info *si = op->o_callback->sc_private; slap_overinst *on = si->on; cache_manager *cm = on->on_bi.bi_private; - query_manager* qm = cm->qm; int return_val = 0; Entry *e; struct berval crp_uuid; @@ -3072,7 +3071,7 @@ int pcache_initialize() } } - syn_UUID = syn_find( "1.3.6.1.1.16.1 "); + syn_UUID = syn_find( "1.3.6.1.1.16.1"); if ( syn_UUID == NULL ) { Debug( LDAP_DEBUG_ANY, "pcache_initialize: unable to find UUID syntax\n", -- 2.39.5