Fix error handling in example callbacks

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-05-26 23:07:46 +02:00
1 parent 18000a8ca0
commit 362670e149
2 files changed
+2

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ static void cb(uev_t *w, void *arg, int events)
if (UEV_ERROR == events) {
puts("Problem with timer, attempting to restart.");
uev_timer_start(w);
return;
}
puts("Every other second");