From 3d623c07a380d497e0566d0dd6496667016922a7 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Wed, 29 Feb 2012 10:33:32 -0500 Subject: [PATCH] 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 --- ldap/servers/slapd/plugin_syntax.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); } -- 1.7.1