Skip to content

Commit

Permalink
Typo in kqueue fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <[email protected]>
  • Loading branch information
sustrik committed Jun 6, 2016
1 parent bb5f3f2 commit 9754d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kqueue.inc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int dill_pollset_poll(int timeout) {
}
int fd = dill_changelist - 1;
struct dill_fdinfo *fdi = &dill_fdinfos[fd];
if(!dill_list_empty(&fdi->in) | fdi == dill_parentinfo) {
if(!dill_list_empty(&fdi->in) || fdi == dill_parentinfo) {
if(!(fdi->currevs & FDW_IN)) {
EV_SET(&chngs[nchngs], fd, EVFILT_READ, EV_ADD, 0, 0, 0);
fdi->currevs |= FDW_IN;
Expand Down

0 comments on commit 9754d69

Please sign in to comment.