]> git.sur5r.net Git - openldap/commitdiff
further fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Tue, 21 Aug 2007 22:15:09 +0000 (22:15 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 21 Aug 2007 22:15:09 +0000 (22:15 +0000)
clients/tools/common.c

index 8c7469e010320c4143487b7347a0b782c8e39c17..7fd62d510178504f024988513555dfa8214b7aba 100644 (file)
@@ -1591,7 +1591,7 @@ tool_server_controls( LDAP *ld, LDAPControl *extra_c, int count )
                ctrls[i++] = extra_c++;
        }
        for ( count = 0; count < unknown_ctrls_num; count++ ) {
-               ctrls[i++] = &unknown_ctrls[count++];
+               ctrls[i++] = &unknown_ctrls[count];
        }
        ctrls[i] = NULL;