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
openldap
OpenLDAP
Commits
28bd88d2
Commit
28bd88d2
authored
Jun 22, 2004
by
Jong Hyuk Choi
Browse files
more timelimit cleanup
parent
b459e593
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
28bd88d2
...
...
@@ -155,12 +155,12 @@ ldap_sync_search(
ctrls
[
1
]
=
NULL
;
}
timeout
.
tv_sec
=
si
->
si_tlimit
>
0
?
si
->
si_tlimit
:
1
;
timeout
.
tv_sec
=
si
->
si_tlimit
;
timeout
.
tv_usec
=
0
;
rc
=
ldap_search_ext
(
si
->
si_ld
,
si
->
si_base
.
bv_val
,
si
->
si_scope
,
si
->
si_filterstr
.
bv_val
,
si
->
si_attrs
,
si
->
si_attrsonly
,
ctrls
,
NULL
,
si
->
si_tlimit
<
0
?
NULL
:
&
timeout
,
ctrls
,
NULL
,
si
->
si_tlimit
>
0
?
&
timeout
:
NULL
,
si
->
si_slimit
,
&
msgid
);
ber_free_buf
(
ber
);
return
rc
;
...
...
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