]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
fix typo
[openldap] / servers / slapd / schema_check.c
index b370876da6253d0e8aaf0b52e32f7a759ebdb860..ca0f7309809a65898ff5afdef63719f80dffe033 100644 (file)
@@ -356,8 +356,8 @@ got_soc:
                                        }
                                }
 
-                               if( xc == NULL ) {
-                                       snprintf( textbuf, textlen, "instanstantiation of "
+                               if( xc != NULL ) {
+                                       snprintf( textbuf, textlen, "instantiation of "
                                                "abstract objectClass '%s' not allowed",
                                                aoc->a_vals[i].bv_val );