Skip to content
GitLab
Menu
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
f3e10e76
Commit
f3e10e76
authored
Apr 16, 1999
by
Per Cederqvist
Browse files
(isc_create): Removed the code that initialized scb->fun.
(isc_destroy): Use scb->handlers->current instead of scb->fun.
parent
cbc7127d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/isc_session.c
View file @
f3e10e76
...
...
@@ -226,14 +226,6 @@ isc_create(IscSessionConfig *cfg, IscHandler *fun)
scb
->
wr_msg_q
=
NULL
;
scb
->
handlers
=
NULL
;
scb
->
fun
.
read
=
NULL
;
scb
->
fun
.
write
=
NULL
;
scb
->
fun
.
close
=
NULL
;
scb
->
fun
.
poll
=
NULL
;
scb
->
fun
.
accept
=
NULL
;
scb
->
fun
.
destroy
=
NULL
;
scb
->
fun
.
parse
=
NULL
;
scb
->
cfg
=
cfg
;
scb
->
stats
.
rx
.
bytes
=
0
;
...
...
@@ -282,7 +274,7 @@ isc_destroy(IscMaster *mcb,
*/
if
(
scb
->
nlinks
<=
0
)
{
if
(
scb
->
fun
.
destroy
)
if
(
scb
->
handlers
->
current
.
destroy
)
ISC_SCALLFUN1
(
scb
,
destroy
,
scb
);
while
(
isc_pophandler
(
scb
))
...
...
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