]> git.sur5r.net Git - openldap/commitdiff
fix printableStringValidate return value bug
authorPierangelo Masarati <ando@openldap.org>
Fri, 16 Aug 2002 16:32:42 +0000 (16:32 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 16 Aug 2002 16:32:42 +0000 (16:32 +0000)
servers/slapd/schema_init.c

index 103533d6f3806e02c42c36cd6bca0add25de7688..5e41856b58be662ae11b99203aea83b7a4756192 100644 (file)
@@ -2122,7 +2122,9 @@ printablesStringValidate(
                }
        }
 
-       if( len == 0 ) LDAP_INVALID_SYNTAX;
+       if( len == 0 ) {
+               return LDAP_INVALID_SYNTAX;
+       }
 
        return LDAP_SUCCESS;
 }