Skip to content

Commit

Permalink
Merge pull request #168 from betashepherd/master
Browse files Browse the repository at this point in the history
patch code
  • Loading branch information
matyhtf committed Jan 7, 2015
2 parents 28540bf + e2b8d7a commit 77cf4ec
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 @@ -301,7 +301,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 77cf4ec

Please sign in to comment.