projects
/
swifty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9febfa2
)
raw: Add read/write state support to sw_socket "syscall".
author
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 09:38:13 +0000
(12:38 +0300)
committer
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 09:38:13 +0000
(12:38 +0300)
src/raw/swift_raw.c
patch
|
blob
|
history
diff --git
a/src/raw/swift_raw.c
b/src/raw/swift_raw.c
index
50cd1df
..
8c5b432
100644
(file)
--- a/
src/raw/swift_raw.c
+++ b/
src/raw/swift_raw.c
@@
-153,6
+153,9
@@
int sw_socket (int __domain, int __type, int __protocol)
if (list == NULL)
goto list_add_err;
+ /* Socket is fully open. */
+ list->rw_state = STATE_NO_SHUT;
+
return s;
list_add_err: