mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-27 11:26:48 +00:00
ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39993
This commit is contained in:
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…
x
Reference in New Issue
Block a user