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
ingo Voss
OpenLDAP
Commits
86c0f733
Commit
86c0f733
authored
Nov 18, 2003
by
Howard Chu
Browse files
Cleanup prev commit, assert if writewaiter != 0 in init
parent
11a8655b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
86c0f733
...
...
@@ -502,6 +502,7 @@ long connection_init(
assert
(
c
->
c_sasl_extra
==
NULL
);
assert
(
c
->
c_sasl_bindop
==
NULL
);
assert
(
c
->
c_currentber
==
NULL
);
assert
(
c
->
c_writewaiter
==
0
);
c
->
c_listener
=
listener
;
...
...
@@ -525,7 +526,6 @@ long connection_init(
c
->
c_n_get
=
0
;
c
->
c_n_read
=
0
;
c
->
c_n_write
=
0
;
c
->
c_writewaiter
=
0
;
/* set to zero until bind, implies LDAP_VERSION3 */
c
->
c_protocol
=
0
;
...
...
@@ -708,6 +708,7 @@ connection_destroy( Connection *c )
ber_sockbuf_ctrl
(
c
->
c_sb
,
LBER_SB_OPT_SET_MAX_INCOMING
,
&
max
);
}
c
->
c_writewaiter
=
0
;
c
->
c_conn_state
=
SLAP_C_INVALID
;
c
->
c_struct_state
=
SLAP_C_UNUSED
;
...
...
Write
Preview
Markdown
is supported
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