summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;