public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e505c
)
net_native: a slight addition
author
Brett Gordon
<beretta42@gmail.com>
Tue, 6 Jun 2017 20:53:55 +0000
(16:53 -0400)
committer
Brett Gordon
<beretta42@gmail.com>
Tue, 6 Jun 2017 20:53:55 +0000
(16:53 -0400)
Kernel/dev/net/net_native.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/net/net_native.c
b/Kernel/dev/net/net_native.c
index
9ed1154
..
5321170
100644
(file)
--- a/
Kernel/dev/net/net_native.c
+++ b/
Kernel/dev/net/net_native.c
@@
-490,6
+490,7
@@
int net_connect(struct socket *s)
*/
void net_close(struct socket *s)
{
+ struct sockdata *sd = s->s_priv;
/* Caution here - the native tcp socket will hang around longer */
sd->newstate = SS_CLOSED;
netn_asynchronous_event(s, NEV_STATE|NEVW_STATE);