summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index a81ed1d2..a31546ee 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -1956,7 +1956,7 @@ sk_read(sock *s, int revents)
}
else if (!c)
{
- if (c->type == SK_UNIX) log(L_TRACE "Unix socket nothing to read");
+ if (s->type == SK_UNIX) log(L_TRACE "Unix socket nothing to read");
s->err_hook(s, 0);
}
else