In cases where there was more than one pending request and no active requests,

the linked list would be corrupted linking the pending request on the list of
active requests.
This commit is contained in:
Jon Meredith 2009-06-05 16:00:25 -06:00 committed by Phillip Toland
parent dc867e363b
commit 512cec599e

View file

@ -226,6 +226,10 @@ static TPoolJob* next_job(TPool* tpool)
{
job->next = tpool->active_jobs;
}
else
{
job->next = NULL;
}
tpool->active_jobs = job;
// Update counters