diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 21:12:14 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 21:12:14 +0000 |
commit | 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 (patch) | |
tree | aa4691cd582e1b074d43ba30e930f29b7942885d /Stars45/NetUser.h | |
parent | b2805409566af00bc15639494f5a186fbd2f16e6 (diff) | |
download | starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.zip starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.gz starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.bz2 |
More string safety stuff
Diffstat (limited to 'Stars45/NetUser.h')
-rw-r--r-- | Stars45/NetUser.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }
|