index
:
passt
Plug A Simple Socket Transport
about
git
code
bugs
lists
chat
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
util.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 59c6641..d9858f2 100644
--- a/
util.c
+++ b/
util.c
@@ -141,7 +141,7 @@ int sock_l4(const struct ctx *c, int af, uint8_t proto,
if (fd > SOCKET_MAX) {
close(fd);
- return -EIO;
+ return -1;
}
ref.r.s = fd;