mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix initializer
This commit is contained in:
parent
e20f94c9f9
commit
0aef00c16f
@ -93,14 +93,16 @@ main( int argc, char **argv )
|
||||
|
||||
|
||||
static void
|
||||
do_modrdn( char *uri, char *host, int port, char *manager, char *passwd, char *entry, int maxloop )
|
||||
do_modrdn( char *uri, char *host, int port, char *manager,
|
||||
char *passwd, char *entry, int maxloop )
|
||||
{
|
||||
LDAP *ld = NULL;
|
||||
int i;
|
||||
pid_t pid = getpid();
|
||||
char *DNs[2] = { entry, NULL };
|
||||
char *DNs[2];
|
||||
char *rdns[2];
|
||||
|
||||
DNs[0] = entry;
|
||||
DNs[1] = strdup( entry );
|
||||
|
||||
/* reverse the RDN, make new DN */
|
||||
|
Loading…
Reference in New Issue
Block a user