summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 19:28:12 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 19:28:12 +0200
commitcf1eb8884dfb2f04a84630ab104fecac72bea0ad (patch)
tree363e5cd1bc1272a83523ebb7cc0fc8c3b0a73f05
parent039088e58b9637d35452d1d7791d7950281e5eef (diff)
WIP debug unix socket
-rw-r--r--sysdep/unix/io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 0cec705d..a81ed1d2 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -1955,7 +1955,10 @@ sk_read(sock *s, int revents)
}
}
else if (!c)
+ {
+ if (c->type == SK_UNIX) log(L_TRACE "Unix socket nothing to read");
s->err_hook(s, 0);
+ }
else
{
s->rpos += c;