aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
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/network
parent0945555e147c139351650061a950aecf3100deb2 (diff)
downloadupstream-7c029cc26290ee490fae85bbc413c3b0849927eb.tar.gz
upstream-7c029cc26290ee490fae85bbc413c3b0849927eb.tar.bz2
upstream-7c029cc26290ee490fae85bbc413c3b0849927eb.zip
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/network')
-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 54d8b1343f..6d7e07dd44 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;