ldap/servers/slapd/back-ldbm/ldbm_attr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit e95d7d6bd893d777c88be1bd847996f299621d99 Author: Rich Megginson rmeggins@redhat.com Date: Tue Sep 24 08:18:57 2013 -0600
Ticket #47504 idlistscanlimit per index/type/value
https://fedorahosted.org/389/ticket/47504 Reviewed by: nhosoi (Thanks!) Branch: master Fix Description: Fix compiler warning - use bv.bv_val to print syntax errors in substring filter. Platforms tested: RHEL6 x86_64 Flag Day: no Doc impact: no (cherry picked from commit 36f506d05fb940e56c42a6b966f11ad1fdf8cba6)
diff --git a/ldap/servers/slapd/back-ldbm/ldbm_attr.c b/ldap/servers/slapd/back-ldbm/ldbm_attr.c index 00571c7..16ffa42 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_attr.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_attr.c @@ -273,7 +273,7 @@ attr_index_parse_idlistsize_values(Slapi_Attr *attr, struct index_idlistsizeinfo PR_snprintf(returntext, SLAPI_DSE_RETURNTEXT_SIZE, "attr_index_parse_idlistsize: initial substring value %s " "in value %s violates syntax for attribute %s", - filt->f_sub_initial, val, attr->a_type); + bv.bv_val, val, attr->a_type); break; } } @@ -287,7 +287,7 @@ attr_index_parse_idlistsize_values(Slapi_Attr *attr, struct index_idlistsizeinfo PR_snprintf(returntext, SLAPI_DSE_RETURNTEXT_SIZE, "attr_index_parse_idlistsize: initial substring value %s in " "value %s violates syntax for attribute %s", - filt->f_sub_any[ii], val, attr->a_type); + bv.bv_val, val, attr->a_type); break; } } @@ -303,7 +303,7 @@ attr_index_parse_idlistsize_values(Slapi_Attr *attr, struct index_idlistsizeinfo PR_snprintf(returntext, SLAPI_DSE_RETURNTEXT_SIZE, "attr_index_parse_idlistsize: final substring value %s in value " "%s violates syntax for attribute %s", - filt->f_sub_final, val, attr->a_type); + bv.bv_val, val, attr->a_type); break; } }
389-commits@lists.fedoraproject.org