mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-29 14:28:42 +02:00
Fix "last seen" timestamp
This commit is contained in:
parent
4587637487
commit
90785a87da
4 changed files with 32 additions and 12 deletions
|
@ -64,13 +64,12 @@ enum message_type
|
|||
};
|
||||
|
||||
|
||||
|
||||
struct tv
|
||||
{
|
||||
tv()
|
||||
{
|
||||
timeval t;
|
||||
chronos::systemtimeofday(&t);
|
||||
chronos::steadytimeofday(&t);
|
||||
sec = t.tv_sec;
|
||||
usec = t.tv_usec;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue