diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
commit | babf7873a3fe373d60ef22b1b671d98e014d8819 (patch) | |
tree | e21dfdb68839616efbbd884dfa77a1745f1c35d7 /protocols/Steam | |
parent | a89887eb202c99ce09107668561abce6704f9004 (diff) |
replace strcpy to mir_strcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 10 | ||||
-rw-r--r-- | protocols/Steam/src/steam_menus.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 5749916f27..c15a839e85 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -637,15 +637,15 @@ void CSteamProto::OnAuthRequested(const NETLIBHTTPREQUEST *response, void *arg) pCurBlob += sizeof(DWORD); *((PDWORD)pCurBlob) = (DWORD)hContact; pCurBlob += sizeof(DWORD); - strcpy((char*)pCurBlob, nickName); + mir_strcpy((char*)pCurBlob, nickName); pCurBlob += mir_strlen(nickName) + 1; - strcpy((char*)pCurBlob, firstName); + mir_strcpy((char*)pCurBlob, firstName); pCurBlob += mir_strlen(firstName) + 1; - strcpy((char*)pCurBlob, lastName); + mir_strcpy((char*)pCurBlob, lastName); pCurBlob += mir_strlen(lastName) + 1; - strcpy((char*)pCurBlob, steamId); + mir_strcpy((char*)pCurBlob, steamId); pCurBlob += mir_strlen(steamId) + 1; - strcpy((char*)pCurBlob, reason); + mir_strcpy((char*)pCurBlob, reason); AddDBEvent(hContact, EVENTTYPE_AUTHREQUEST, time(NULL), DBEF_UTF, cbBlob, pBlob); } diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp index a7b9626fc5..b18e6862aa 100644 --- a/protocols/Steam/src/steam_menus.cpp +++ b/protocols/Steam/src/steam_menus.cpp @@ -125,7 +125,7 @@ void CSteamProto::OnInitStatusMenu() mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR;
// Show block list
- strcpy(tDest, "/BlockList");
+ mir_strcpy(tDest, "/BlockList");
CreateProtoService(tDest, &CSteamProto::OpenBlockListCommand);
mi.ptszName = LPGENT("Blocked contacts");
mi.position = 200000 + SMI_BLOCKED_LIST;
|