]> git.sur5r.net Git - openldap/commitdiff
Fix loop in glue_tool_sync
authorHoward Chu <hyc@openldap.org>
Fri, 11 Jan 2002 09:04:34 +0000 (09:04 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 11 Jan 2002 09:04:34 +0000 (09:04 +0000)
servers/slapd/backglue.c

index f7f68ffeec84014f12eb595fe66d20e11f2c4589..11eca56d1328a55f4d3ecdb3e0a61b2e1694ba29 100644 (file)
@@ -766,7 +766,7 @@ glue_tool_sync (
        int i;
 
        /* just sync everyone */
-       for (i = 0; b0->be_nsuffix[i]; i++)
+       for (i = 0; i<gi->nodes; i++)
                if (gi->n[i].be->be_sync)
                        gi->n[i].be->be_sync (gi->n[i].be);
        return 0;