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:
Felix Fietkau 2014-03-21 15:54:56 +00:00
parent 0945555e14
commit 7c029cc262

View File

@ -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;