ldap/servers/slapd/plugin_syntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3d623c07a380d497e0566d0dd6496667016922a7 Author: Mark Reynolds mareynol@redhat.com Date: Wed Feb 29 10:33:32 2012 -0500
Ticket #306 - void function cannot return value
Bug Description: slapi_attr_value_normalize() was trying to return slapi_attr_value_normalize_ext().
Fix Description: Instead of returning the function, we just call it. Currently this function is not being used by the DS, but it should be fixed.
https://fedorahosted.org/389/ticket/306
diff --git a/ldap/servers/slapd/plugin_syntax.c b/ldap/servers/slapd/plugin_syntax.c index 0438ceb..840fa7a 100644 --- a/ldap/servers/slapd/plugin_syntax.c +++ b/ldap/servers/slapd/plugin_syntax.c @@ -991,5 +991,5 @@ slapi_attr_value_normalize( char **retval ) { - return slapi_attr_value_normalize_ext(pb, sattr, type, val, trim_spaces, retval, 0); + slapi_attr_value_normalize_ext(pb, sattr, type, val, trim_spaces, retval, 0); }
389-commits@lists.fedoraproject.org