Commit 31258889 authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: Fixed an off-by-one error in the last commit

parent e751ed33
......@@ -109,7 +109,7 @@ static void
*consumer(void *arg)
{
int id = *((int *) arg), deqs = 0;
prod_con_data_t *pcdata = &condata[id];
prod_con_data_t *pcdata = &condata[id-1];
pcdata->sum = 0;
pcdata->fail = SUCCESS;
unsigned *xid;
......
Markdown is supported
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