summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:56 +0000
commit7c029cc26290ee490fae85bbc413c3b0849927eb (patch)
tree6e727fc8c7eb067bf782c8e13638e6558435efc4 /package
parent0945555e147c139351650061a950aecf3100deb2 (diff)
downloadmtk-20170518-7c029cc26290ee490fae85bbc413c3b0849927eb.zip
mtk-20170518-7c029cc26290ee490fae85bbc413c3b0849927eb.tar.gz
mtk-20170518-7c029cc26290ee490fae85bbc413c3b0849927eb.tar.bz2
ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39993
Diffstat (limited to 'package')
-rw-r--r--package/network/services/ead/src/ead-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/ead/src/ead-client.c b/package/network/services/ead/src/ead-client.c
index 54d8b13..6d7e07d 100644
--- a/package/network/services/ead/src/ead-client.c
+++ b/package/network/services/ead/src/ead-client.c
@@ -67,7 +67,7 @@ static uint16_t sid = 0;
static void
set_nonblock(int enable)
{
- if (enable == !!(sockflags & O_NONBLOCK));
+ if (enable == !!(sockflags & O_NONBLOCK))
return;
sockflags ^= O_NONBLOCK;