Skip to content

Commit

Permalink
and same typo in the kqueue implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
xant committed Apr 2, 2014
1 parent da71a22 commit c27b298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iomux.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ iomux_run(iomux_t *iomux, struct timeval *tv_default)
iomux->connections[i]->cbs.mux_output(iomux, i, data, &len,
iomux->connections[i]->cbs.priv);

if (!iomux->connections[fd])
if (!iomux->connections[i])
continue;

if (len) {
Expand Down

0 comments on commit c27b298

Please sign in to comment.