From 709525cf8d545f039e99a033068c1242a3bc4a31 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 29 Jul 2011 20:22:54 +0200 Subject: Fix apoint_get() call in apoint_switch_notify() We passed the function arguments the wrong way round. This regression was introduced in commit 77ef3fe76e4ce4c9a990e8a5904ad2d83420ca02. Signed-off-by: Lukas Fleischer --- src/apoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apoint.c b/src/apoint.c index 859e807..6fd9e64 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -657,7 +657,7 @@ apoint_switch_notify (void) need_chk_notify = 0; LLIST_TS_LOCK (&alist_p); - struct apoint *apt = apoint_get (apoint_nb, date); + struct apoint *apt = apoint_get (date, apoint_nb); apt->state ^= APOINT_NOTIFY; if (notify_bar ()) -- cgit v1.2.3-54-g00ecf