summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-05-29 22:37:52 +0200
committerAki <please@ignore.pl>2020-05-29 22:37:52 +0200
commit794d912cd7e05d3d97303e2578439362685edfcb (patch)
treecbefc88d4e58979af82173d821cc46eec3901bed
parent03853fb21f283b57873d85d83f8a9fe4fbb8c83e (diff)
downloadplop-794d912cd7e05d3d97303e2578439362685edfcb.zip
plop-794d912cd7e05d3d97303e2578439362685edfcb.tar.gz
plop-794d912cd7e05d3d97303e2578439362685edfcb.tar.bz2
Changed style of if condition
-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;
}