Skip to content

Commit

Permalink
patch code
Browse files Browse the repository at this point in the history
  • Loading branch information
betashepherd committed Jan 7, 2015
1 parent fb954f1 commit e2b8d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reactor/ReactorKqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static int swReactorKqueue_wait(swReactor *reactor, struct timeval *timeo)
}
}
//write
else if (object->events[i].filter == EVFILT_WRITE && !reactor->sockets[ev.fd].removed)
else if (object->events[i].filter == EVFILT_WRITE && !reactor->sockets[event.fd].removed)
{
handle = swReactor_getHandle(reactor, SW_EVENT_WRITE, event.type);
ret = handle(reactor, &event);
Expand Down

0 comments on commit e2b8d7a

Please sign in to comment.