]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit, compare must return signed result
authorHoward Chu <hyc@openldap.org>
Wed, 18 Dec 2002 07:55:27 +0000 (07:55 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 18 Dec 2002 07:55:27 +0000 (07:55 +0000)
servers/slapd/back-bdb/init.c

index ba4692e83cbc0a04a82eb8dff1cc58f9014f86d3..347e82bd2310c413964c0119a2e36321aced7eb9 100644 (file)
@@ -119,8 +119,8 @@ bdb_bt_compare(
        const DBT *curkey
 )
 {
-       unsigned char x, *u, *c;
-       int i;
+       unsigned char *u, *c;
+       int i, x;
 
        u = usrkey->data;
        c = curkey->data;