don't use strncpy

This commit is contained in:
Martin Michelsen
2022-01-03 10:52:14 -08:00
parent 438483574f
commit 0f4618f0e0
3 changed files with 30 additions and 13 deletions
+1
View File
@@ -35,6 +35,7 @@ struct License {
uint32_t privileges; // privilege level
uint64_t ban_end_time; // end time of ban (zero = not banned)
License();
std::string str() const;
} __attribute__((packed));