From 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 21:12:14 +0000 Subject: More string safety stuff --- Stars45/NetUser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/NetUser.h') diff --git a/Stars45/NetUser.h b/Stars45/NetUser.h index 31e261c..02fb056 100644 --- a/Stars45/NetUser.h +++ b/Stars45/NetUser.h @@ -71,7 +71,7 @@ public: void SetAuthLevel(int n) { auth_level = n; } void SetAuthState(int n) { auth_state = n; } - void SetSalt(const char* s) { strcpy(salt, s);} + void SetSalt(const char* s) { strcpy_s(salt, s);} void SetSquadron(const char* s) { squadron = s; } void SetSignature(const char* s){ signature = s; } -- cgit v1.1