소스 검색

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
Mark Reynolds 13 년 전
부모
커밋
3d623c07a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ldap/servers/slapd/plugin_syntax.c

+ 1 - 1
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);
 }