From 38cbda07f3e9660af6c63289e68ec1d31f567ac4 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 4 Sep 1999 22:19:09 +0000 Subject: [PATCH] Handle unknown syntaxes as binary --- servers/slapd/value.c | 1 + 1 file changed, 1 insertion(+) 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 ) -- 2.39.5