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
b179e05e
Commit
b179e05e
authored
Nov 20, 2003
by
Howard Chu
Browse files
For previous, assert (writewaiter==0) in conn_destroy too.
parent
21796e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
b179e05e
...
...
@@ -651,6 +651,7 @@ connection_destroy( Connection *c )
assert
(
c
->
c_struct_state
!=
SLAP_C_UNUSED
);
assert
(
c
->
c_conn_state
!=
SLAP_C_INVALID
);
assert
(
LDAP_STAILQ_EMPTY
(
&
c
->
c_ops
)
);
assert
(
c
->
c_writewaiter
==
0
);
/* only for stats (print -1 as "%lu" may give unexpected results ;) */
connid
=
c
->
c_connid
;
...
...
@@ -708,7 +709,6 @@ 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