]> git.sur5r.net Git - openldap/commitdiff
Fix typo in filter_value_unescape()
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 28 Aug 1999 22:06:52 +0000 (22:06 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 28 Aug 1999 22:06:52 +0000 (22:06 +0000)
libraries/libldap/search.c

index 808fb81819164822c7232d2dc8d36ffad0819d03..56b07a7df273a2c87581a42c4ad90d4a9d47b0fe 100644 (file)
@@ -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 ) {