]> git.sur5r.net Git - openldap/commitdiff
Handle unknown syntaxes as binary
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 4 Sep 1999 22:19:09 +0000 (22:19 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 4 Sep 1999 22:19:09 +0000 (22:19 +0000)
servers/slapd/value.c

index 6988e6cec6860f4e705a85f7c94bd9f94d981521..5bed72da31cac295ba58f0f25bb3cfe9783042f3 100644 (file)
@@ -139,6 +139,7 @@ value_cmp(
                rc = strcmp( v1->bv_val, v2->bv_val );
                break;
 
+       default:        /* Unknown syntax */
        case SYNTAX_BIN:
                rc = (v1->bv_len == v2->bv_len
                      ? memcmp( v1->bv_val, v2->bv_val, v1->bv_len )