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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue