aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ead/src
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
commitdd4175bcc12c2f2d089f5dfd5724b4c30c49de3b (patch)
tree48892a78a6dac5ac39410f6c9d0a9be8831e5c2a /package/network/services/ead/src
parent8fe5646e4f5ff5c14c58a5167f820d65fe07e7c6 (diff)
downloadupstream-dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b.tar.gz
upstream-dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b.tar.bz2
upstream-dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b.zip
ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39993 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ead/src')
-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;