Commit Diff


commit - 8fbe3fd5647baf286acfadbc6712f3166622deca
commit + 3a691a42c79d88cdabde6d3439eccc3b6e49ebe1
blob - cd154c950244c7c18f08692bc33a7a2e9e65e810
blob + 4f3795af067cd31694c274b06b074e594519e45e
--- test/evtest.c
+++ test/evtest.c
@@ -93,9 +93,9 @@ main(void)
 	if (ev_add(p[0], POLLIN, pipe_ev, NULL) == -1)
 		err(1, "ev_add");
 
-	if ((tout_a = ev_timer(&tv_a, timeout_cancel_b, &fired_a)) == 0 ||
+	if ((tout_c = ev_timer(&tv_c, timeout_quit, &fired_c)) == 0 ||
 	    (tout_b = ev_timer(&tv_b, timeout_cb, &fired_b)) == 0 ||
-	    (tout_c = ev_timer(&tv_c, timeout_quit, &fired_c)) == 0)
+	    (tout_a = ev_timer(&tv_a, timeout_cancel_b, &fired_a)) == 0)
 		err(1, "ev_timer");
 
 	ev_loop();