- iterator insertion

This commit is contained in:
Martin Willi
2005-11-17 13:34:10 +00:00
parent 1a2e706bee
commit f0c83c23a3
3 changed files with 59 additions and 82 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ static status_t add_absolute(private_event_queue_t *this, job_t *job, timeval_t
if (time_difference(&(event->time), &(current_event->time)) <= 0)
{
/* my event has to be fired before the current event in list */
status = this->list->insert_before(this->list,iterator,event);
status = iterator->insert_before(iterator,event);
break;
}
}