Skip to content
Snippets Groups Projects
Commit 0aef00c1 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix initializer

parent e20f94c9
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment