Skip to content
Snippets Groups Projects
Commit a69d3215 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2428 braindead compiler...

parent f73eddd4
Branches
Tags
No related merge requests found
......@@ -98,10 +98,11 @@ do_modrdn( char *uri, char *host, int port, char *manager,
{
LDAP *ld = NULL;
int i;
pid_t pid = getpid();
pid_t pid;
char *DNs[2];
char *rdns[2];
pid = getpid();
DNs[0] = entry;
DNs[1] = strdup( entry );
......@@ -164,7 +165,6 @@ do_modrdn( char *uri, char *host, int port, char *manager,
if ( rc != LDAP_NO_SUCH_OBJECT ) break;
continue;
}
}
fprintf( stderr, " PID=%ld - Modrdn done.\n", (long) pid );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment