Commit d0261e85 authored by Timothy Stack's avatar Timothy Stack
Browse files

Fix a bug with event groups of size one.

parent 6614a96d
...@@ -276,9 +276,9 @@ static int group_agent_immediate(local_agent_t la, sched_event_t *se) ...@@ -276,9 +276,9 @@ static int group_agent_immediate(local_agent_t la, sched_event_t *se)
ga->ga_remaining = ga->ga_count; ga->ga_remaining = ga->ga_count;
} }
if (se->agent.m[1]->handler != NULL) { if (ga->ga_agents[1]->handler != NULL) {
if (se->agent.m[1]->handler->la_flags & LAF_MULTIPLE) { if (ga->ga_agents[1]->handler->la_flags & LAF_MULTIPLE) {
local_agent_queue(se->agent.m[1]->handler, se); local_agent_queue(ga->ga_agents[1]->handler, se);
} }
else { else {
int lpc; int lpc;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment