Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test-fs-event.c: style
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Mar 27, 2012
1 parent 8409a67 commit 7e8fe3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test-fs-event.c
Expand Up @@ -27,10 +27,10 @@

static uv_fs_event_t fs_event;
static uv_timer_t timer;
static int timer_cb_called;
static int close_cb_called;
static int fs_event_cb_called;
static int timer_cb_touch_called;
static int timer_cb_called = 0;
static int close_cb_called = 0;
static int fs_event_cb_called = 0;
static int timer_cb_touch_called = 0;

static void create_dir(uv_loop_t* loop, const char* name) {
int r;
Expand Down Expand Up @@ -117,7 +117,7 @@ static void timer_cb_dir(uv_timer_t* handle, int status) {

static void timer_cb_file(uv_timer_t* handle, int status) {
++timer_cb_called;

if (timer_cb_called == 1) {
touch_file(handle->loop, "watch_dir/file1");
} else {
Expand Down Expand Up @@ -271,7 +271,7 @@ TEST_IMPL(fs_event_no_callback_on_close) {


static void fs_event_fail(uv_fs_event_t* handle, const char* filename,
int events, int status) {
int events, int status) {
ASSERT(0 && "should never be called");
}

Expand Down

0 comments on commit 7e8fe3e

Please sign in to comment.