From c655139449ccfc86c46a107c2a9caf311c4de026 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 25 Nov 2005 01:12:32 +0000 Subject: [PATCH] fix ldap_bv2escaped_filter_value() according to --- libraries/libldap/search.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/libldap/search.c b/libraries/libldap/search.c index d6bd5f2dec..afa63ef9ae 100644 --- a/libraries/libldap/search.c +++ b/libraries/libldap/search.c @@ -370,13 +370,13 @@ ldap_bv2escaped_filter_value( struct berval *in, struct berval *out ) { ber_len_t i; static char escape[128] = { - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, + 1, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -388,7 +388,7 @@ ldap_bv2escaped_filter_value( struct berval *in, struct berval *out ) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1 + 0, 0, 0, 0, 0, 0, 0, 0 }; out->bv_len = 0; -- 2.39.5