feat: multi-user system, bug fixes, security & performance fixes, and more
This commit is contained in:
@@ -99,6 +99,7 @@ namespace montauk {
|
||||
}
|
||||
|
||||
inline void strncpy(char* dst, const char* src, int max) {
|
||||
if (max <= 0) return;
|
||||
int i = 0;
|
||||
while (src[i] && i < max - 1) { dst[i] = src[i]; i++; }
|
||||
dst[i] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user