mirror of https://github.com/hak5/openwrt.git
ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39993lede-17.01
parent
0945555e14
commit
7c029cc262
|
@ -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…
Reference in New Issue