further fix previous commit

This commit is contained in:
Pierangelo Masarati 2007-08-21 22:15:09 +00:00
parent 6270bd9e82
commit caa5123975

View 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;