From 096c3cb7fd671a4aa64b4f8e58e807bf85dac1db Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Fri, 10 Jun 2005 22:47:44 +0000 Subject: [PATCH] Make timeouts work again. --- lib/event/dmeventd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/event/dmeventd.c b/lib/event/dmeventd.c index 6bdae61..6b2627d 100644 --- a/lib/event/dmeventd.c +++ b/lib/event/dmeventd.c @@ -399,7 +399,7 @@ static void *timeout_thread(void *unused) pthread_cond_timedwait(&timeout_cond, &timeout_mutex, &timeout); } - pthread_cleanup_pop(0); + pthread_cleanup_pop(1); return NULL; } -- 2.43.5