From a7349c100ecc4c8ccac140045bbc60c425b7874e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 16 Aug 2002 16:32:42 +0000 Subject: [PATCH] fix printableStringValidate return value bug --- servers/slapd/schema_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 103533d6f3..5e41856b58 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -2122,7 +2122,9 @@ printablesStringValidate( } } - if( len == 0 ) LDAP_INVALID_SYNTAX; + if( len == 0 ) { + return LDAP_INVALID_SYNTAX; + } return LDAP_SUCCESS; } -- 2.39.5