mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Workaround buggy HP compiler
This commit is contained in:
parent
cdd84c3483
commit
05a6f29d77
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user