mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
Kernel: Make kgettimeofday use AK::Time
This commit is contained in:
committed by
Andreas Kling
parent
05d5e3fad9
commit
336303bda4
@@ -193,7 +193,8 @@ void NetworkAdapter::did_receive(ReadonlyBytes payload)
|
||||
}
|
||||
}
|
||||
|
||||
m_packet_queue.append({ buffer.value(), kgettimeofday() });
|
||||
// FIXME: Should use AK::Time internally
|
||||
m_packet_queue.append({ buffer.value(), kgettimeofday().to_timeval() });
|
||||
|
||||
if (on_receive)
|
||||
on_receive();
|
||||
|
||||
Reference in New Issue
Block a user