mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
8fe5646e4f
commit
dd4175bcc1
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user