From: Ralf Haferkamp Date: Wed, 26 Sep 2007 01:59:24 +0000 (+0000) Subject: set mod->sm_numvals X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~598 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d1df12527d281b453c4ef97714bbd74d07ce7a9;p=openldap set mod->sm_numvals --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 5506c22e3a..70ef66ac55 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1449,6 +1449,7 @@ remove_query_data( mod.sml_type = ad_queryId->ad_cname; mod.sml_values = vals; mod.sml_nvalues = NULL; + mod.sml_numvals = 1; mod.sml_next = NULL; Debug( pcache_debug, "REMOVING TEMP ATTR : TEMPLATE=%s\n", @@ -3353,6 +3354,7 @@ pcache_db_close( mod.sml_type = ad_cachedQueryURL->ad_cname; mod.sml_values = vals; mod.sml_nvalues = NULL; + mod.sml_numvals = 1; mod.sml_next = NULL; Debug( pcache_debug, "%sSETTING CACHED QUERY URLS\n",