commit | 3b5d69b033e36eef07f5774ffdf12e459e6f946a | [log] [tgz] |
---|---|---|
author | Pierre Habouzit <phabouzit@apple.com> | Fri Jul 14 17:10:57 2017 -0700 |
committer | Pierre Habouzit <phabouzit@apple.com> | Fri Jul 14 20:36:11 2017 -0700 |
tree | 24408c987c3ee2c04e3d1638902c02d78db2804e | |
parent | c4064b4ece163ca63295e47f10f74b8955edc03f [diff] |
fix mistake in dispatch_timer.c
diff --git a/tests/dispatch_timer.c b/tests/dispatch_timer.c index bebbc0d..e480ec2 100644 --- a/tests/dispatch_timer.c +++ b/tests/dispatch_timer.c
@@ -86,7 +86,8 @@ fprintf(stderr, "%d\n", ++i); if (i >= stop_at) { test_long("i", i, stop_at); - dispatch_source_set_timer(s, dispatch_time(DISPATCH_TIME_NOW, 0), 0, 0); + dispatch_source_set_timer(s, dispatch_time(DISPATCH_TIME_NOW, 0), + DISPATCH_TIME_FOREVER, 0); dispatch_source_cancel(s); } });