From: Hallvard Furuseth Date: Sat, 4 Sep 1999 22:19:09 +0000 (+0000) Subject: Handle unknown syntaxes as binary X-Git-Tag: TWEB_OL_BASE~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38cbda07f3e9660af6c63289e68ec1d31f567ac4;p=openldap Handle unknown syntaxes as binary --- diff --git a/servers/slapd/value.c b/servers/slapd/value.c index 6988e6cec6..5bed72da31 100644 --- a/servers/slapd/value.c +++ b/servers/slapd/value.c @@ -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 )