mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-04 00:59:32 +02:00
update aixlog to v1.2.3
This commit is contained in:
parent
a1e3d2685d
commit
47e6992538
1 changed files with 2 additions and 2 deletions
|
@ -284,8 +284,8 @@ struct Timestamp
|
|||
{
|
||||
int ms_part = std::chrono::time_point_cast<std::chrono::milliseconds>(time_point).time_since_epoch().count() % 1000;
|
||||
char ms_str[4];
|
||||
snprintf(ms_str, 4, "%03d", ms_part);
|
||||
result.replace(pos, 3, ms_str);
|
||||
if (snprintf(ms_str, 4, "%03d", ms_part) >= 0)
|
||||
result.replace(pos, 3, ms_str);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue