Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198e4c0
)
Fixed bug occurring when netcsconn happens.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 6 Nov 2008 02:49:55 +0000
(
03:49
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 6 Nov 2008 02:49:55 +0000
(
03:49
+0100)
daemon/net.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/net.c
b/daemon/net.c
index
86bc552
..
e1eb5dc
100644
(file)
--- a/
daemon/net.c
+++ b/
daemon/net.c
@@
-1020,7
+1020,7
@@
struct socket *netcsconn(struct sockaddr *addr, socklen_t addrlen, void (*func)(
sksetstate(sk, SOCK_SYN);
return(sk->back);
}
- putsock(sk);
+ putsock(sk
->back
);
return(NULL);
}
errno = EOPNOTSUPP;