Fix initializer

This commit is contained in:
Kurt Zeilenga 2003-03-04 21:52:23 +00:00
parent e20f94c9f9
commit 0aef00c16f

View File

@ -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 */