feat: multi-user system, bug fixes, security & performance fixes, and more
This commit is contained in:
1 parent
9f54e4957d
commit
39b0424085
389 files changed
+231853
-591
No files matched your search
@@ -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