projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0945555
)
ead: set_nonblock() is doing nothing (typo)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 15:54:56 +0000
(15:54 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 15:54:56 +0000
(15:54 +0000)
spotted with cppcheck
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39993
package/network/services/ead/src/ead-client.c
patch
|
blob
|
history
diff --git
a/package/network/services/ead/src/ead-client.c
b/package/network/services/ead/src/ead-client.c
index 54d8b1343f63107bc661e6d62426f9f356962185..6d7e07dd4462e4ed926a6c1c5660adb643699079 100644
(file)
--- 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;