Commit c5bd5c94 authored by RILLING Louis's avatar RILLING Louis
Browse files

tanqemu: Missing variables name fixes in 2e2ed21a (absolute deadlines vs deltas)

parent 63ccfac0
Pipeline #209501 failed with stages
in 68 minutes and 48 seconds
......@@ -182,8 +182,8 @@ extern "C" fn deadline_handler(opaque: *mut ::std::os::raw::c_void) {
let timer_context = unsafe { (opaque as *const TimerContextInner).as_ref().unwrap() };
if let Some(context) = timer_context.context.lock().unwrap().upgrade() {
match context.at_deadline() {
AfterDeadline::NextDeadline(time_to_deadline) => {
context.timer_context.set_next_deadline(time_to_deadline);
AfterDeadline::NextDeadline(deadline) => {
context.timer_context.set_next_deadline(deadline);
},
AfterDeadline::EndSimulation => (),
}
......
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