diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-21 15:54:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-21 15:54:56 +0000 |
commit | 52baf2d9486750c04fa18b1bdc19581ef9b14d5b (patch) | |
tree | 48892a78a6dac5ac39410f6c9d0a9be8831e5c2a | |
parent | 9094f45c9fe46a7a5500a1188fbe5416a278446f (diff) |
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
-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; |