Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0ccc52f0
Commit
0ccc52f0
authored
Aug 22, 2003
by
Per Cederqvist
Browse files
(isc_destroy): Don't chanse a NULL pointer. This could be triggered
if the port was already bound.
parent
0f62172d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/isc_session.c
View file @
0ccc52f0
...
...
@@ -435,7 +435,7 @@ isc_destroy(struct isc_mcb *mcb,
if
(
sci
->
wr_msg_q
)
{
size
=
isc_killqueue
(
sci
->
wr_msg_q
);
if
(
mcb
->
write_change_cb
)
if
(
mcb
!=
NULL
&&
mcb
->
write_change_cb
)
mcb
->
write_change_cb
(
-
size
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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