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 <calcurse@cryptocrack.de>
This commit is contained in:
parent
1a849cfb8e
commit
709525cf8d
@ -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 ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user