]> git.sur5r.net Git - openldap/commitdiff
Fix typo
authorHoward Chu <hyc@openldap.org>
Tue, 4 Dec 2012 02:00:36 +0000 (18:00 -0800)
committerHoward Chu <hyc@openldap.org>
Tue, 4 Dec 2012 02:00:36 +0000 (18:00 -0800)
See commit bb36bdcd1c22d1fbc6575452ef5c9112715ab083

servers/slapd/back-bdb/idl.c

index a8b67ad3d8691a8b2d29c07689d5cd3a870fe012..465389a4fc2fecfb13dba53561e1558c4c4e6b84 100644 (file)
@@ -1454,7 +1454,7 @@ bdb_idl_sort( ID *ids, ID *tmp )
                        ids[l+1] = ids[j];
                        ids[j] = a;
                        jstack += 2;
-                       if (ir-i+1 >= j-1) {
+                       if (ir-i+1 >= j-l) {
                                istack[jstack] = ir;
                                istack[jstack-1] = i;
                                ir = j-1;