ead: set_nonblock() is doing nothing (typo)

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39993
lede-17.01
Felix Fietkau 2014-03-21 15:54:56 +00:00
parent 0945555e14
commit 7c029cc262
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ static uint16_t sid = 0;
static void static void
set_nonblock(int enable) set_nonblock(int enable)
{ {
if (enable == !!(sockflags & O_NONBLOCK)); if (enable == !!(sockflags & O_NONBLOCK))
return; return;
sockflags ^= O_NONBLOCK; sockflags ^= O_NONBLOCK;