mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Fix a regression in scheduler entry ordering, and add a regression test for it.
(closes issue #14522) Reported by: pj Tested by: russell git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@178022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -233,7 +233,7 @@ static unsigned int sched_hash(const void *obj)
|
||||
|
||||
static int sched_time_cmp(void *a, void *b)
|
||||
{
|
||||
return ast_tvcmp(((struct sched *) a)->when, ((struct sched *) b)->when);
|
||||
return ast_tvcmp(((struct sched *) b)->when, ((struct sched *) a)->when);
|
||||
}
|
||||
|
||||
struct sched_context *sched_context_create(void)
|
||||
|
||||
Reference in New Issue
Block a user