projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/nixio: fix possible issue with nonblocking bind()
[project/luci.git]
/
libs
/
nixio
/
src
/
bind.c
diff --git
a/libs/nixio/src/bind.c
b/libs/nixio/src/bind.c
index
81ab0bb
..
7112059
100644
(file)
--- a/
libs/nixio/src/bind.c
+++ b/
libs/nixio/src/bind.c
@@
-180,7
+180,7
@@
static int nixio_sock__bind_connect(lua_State *L, int do_bind) {
}
/* on success */
- if (!status) {
+ if (!status
|| errno == EINPROGRESS
) {
break;
}
}