]> git.sur5r.net Git - openldap/commitdiff
fix abstract class inheritance check (ITS#5474)
authorPierangelo Masarati <ando@openldap.org>
Thu, 17 Apr 2008 20:49:59 +0000 (20:49 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 17 Apr 2008 20:49:59 +0000 (20:49 +0000)
servers/slapd/schema_check.c

index b370876da6253d0e8aaf0b52e32f7a759ebdb860..62f2d704c219eaabfbe6bf4e54b7ff32742718f9 100644 (file)
@@ -356,7 +356,7 @@ got_soc:
                                        }
                                }
 
-                               if( xc == NULL ) {
+                               if( xc != NULL ) {
                                        snprintf( textbuf, textlen, "instanstantiation of "
                                                "abstract objectClass '%s' not allowed",
                                                aoc->a_vals[i].bv_val );