Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Fixed bioprintf bug.
[ashd.git]
/
lib
/
mtio-epoll.c
diff --git
a/lib/mtio-epoll.c
b/lib/mtio-epoll.c
index
d9e794e
..
af7cd27
100644
(file)
--- a/
lib/mtio-epoll.c
+++ b/
lib/mtio-epoll.c
@@
-166,7
+166,7
@@
struct selected mblock(time_t to, int n, struct selected *spec)
.th = current,
};
if(addblock(&bls[i])) {
.th = current,
};
if(addblock(&bls[i])) {
- for(i--; i >= 0; i
++
)
+ for(i--; i >= 0; i
--
)
remblock(&bls[i]);
return((struct selected){.fd = -1, .ev = -1});
}
remblock(&bls[i]);
return((struct selected){.fd = -1, .ev = -1});
}