From: Kurt Zeilenga Date: Tue, 4 Mar 2003 21:52:23 +0000 (+0000) Subject: Fix initializer X-Git-Tag: NO_SLAP_OP_BLOCKS~185 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0aef00c16ffdc448cb0c2c49db7b198359ad311b;p=openldap Fix initializer --- diff --git a/tests/progs/slapd-modrdn.c b/tests/progs/slapd-modrdn.c index 8de0b554b1..cfedca5cba 100644 --- a/tests/progs/slapd-modrdn.c +++ b/tests/progs/slapd-modrdn.c @@ -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 */