UNIX: Bad was_active check in uv_check_start()

This commit is contained in:
Ryan Dahl 2011-05-26 22:50:38 -07:00
parent 143a09a33d
commit e3923b76b4

View File

@ -1020,7 +1020,7 @@ int uv_check_init(uv_handle_t* handle, uv_close_cb close_cb, void* data) {
int uv_check_start(uv_handle_t* handle, uv_loop_cb cb) {
int was_active = ev_is_active(&handle->prepare_watcher);
int was_active = ev_is_active(&handle->check_watcher);
handle->check_cb = cb;