From: Hallvard Furuseth Date: Sat, 28 Aug 1999 22:06:52 +0000 (+0000) Subject: Fix typo in filter_value_unescape() X-Git-Tag: TWEB_OL_BASE~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=635a666359d232305b1e264cb1e635e64212c615;p=openldap Fix typo in filter_value_unescape() --- diff --git a/libraries/libldap/search.c b/libraries/libldap/search.c index 808fb81819..56b07a7df2 100644 --- a/libraries/libldap/search.c +++ b/libraries/libldap/search.c @@ -458,7 +458,9 @@ filter_value_unescape( char *fval ) /* escape at end of string */ return -1; - } else if (( v1 = hex2value( fval[v] )) < 0 ) { + } + + if (( v1 = hex2value( fval[v] )) >= 0 ) { /* LDAPv3 escape */ if (( v2 = hex2value( fval[v+1] )) < 0 ) {