summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plop.c b/plop.c
index 963b7b9..2a52b22 100644
--- a/plop.c
+++ b/plop.c
@@ -161,7 +161,7 @@ int handle_server(struct pollfd * fdv, int fdc, const int size)
fdc++;
}
- if (errno != EWOULDBLOCK && errno != EAGAIN)
+ if (EWOULDBLOCK != errno && EAGAIN != errno)
{
return -1;
}