Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
33ca14a8
Commit
33ca14a8
authored
Mar 05, 2009
by
Quanah Gibson-Mount
Browse files
Fix loop init
parent
7a18d734
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/progs/slapd-modrdn.c
View file @
33ca14a8
...
...
@@ -183,7 +183,7 @@ do_modrdn( char *uri, char *manager,
int
delay
,
int
friendly
,
int
chaserefs
)
{
LDAP
*
ld
=
NULL
;
int
i
=
0
,
do_retry
=
maxretries
;
int
i
,
do_retry
=
maxretries
;
char
*
DNs
[
2
];
char
*
rdns
[
2
];
int
rc
=
LDAP_SUCCESS
;
...
...
@@ -208,6 +208,8 @@ do_modrdn( char *uri, char *manager,
rdns
[
0
]
=
strdup
(
DNs
[
1
]
);
DNs
[
1
][
i
]
=
','
;
i
=
0
;
retry:
;
ldap_initialize
(
&
ld
,
uri
);
if
(
ld
==
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment