From 7c029cc26290ee490fae85bbc413c3b0849927eb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 21 Mar 2014 15:54:56 +0000 Subject: [PATCH] ead: set_nonblock() is doing nothing (typo) spotted with cppcheck Signed-off-by: Etienne CHAMPETIER SVN-Revision: 39993 --- package/network/services/ead/src/ead-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/ead/src/ead-client.c b/package/network/services/ead/src/ead-client.c index 54d8b1343f..6d7e07dd44 100644 --- a/package/network/services/ead/src/ead-client.c +++ b/package/network/services/ead/src/ead-client.c @@ -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; -- 2.30.2