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 | 7c029cc26290ee490fae85bbc413c3b0849927eb (patch) | |
tree | 6e727fc8c7eb067bf782c8e13638e6558435efc4 /package | |
parent | 0945555e147c139351650061a950aecf3100deb2 (diff) | |
download | mtk-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.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 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; |