From: Pierangelo Masarati Date: Fri, 16 Aug 2002 16:32:42 +0000 (+0000) Subject: fix printableStringValidate return value bug X-Git-Tag: NO_SLAP_OP_BLOCKS~1223 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a7349c100ecc4c8ccac140045bbc60c425b7874e;p=openldap fix printableStringValidate return value bug --- 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; }