diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:56 +0000 |
commit | dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b (patch) | |
tree | 48892a78a6dac5ac39410f6c9d0a9be8831e5c2a /package/network/services | |
parent | 8fe5646e4f5ff5c14c58a5167f820d65fe07e7c6 (diff) | |
download | master-187ad058-dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b.tar.gz master-187ad058-dd4175bcc12c2f2d089f5dfd5724b4c30c49de3b.tar.bz2 master-187ad058-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')
-rw-r--r-- | package/network/services/ead/src/ead-client.c | 2 |
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; |