From babf7873a3fe373d60ef22b1b671d98e014d8819 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:52:29 +0000 Subject: replace strcpy to mir_strcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_contacts.cpp | 10 +++++----- protocols/Steam/src/steam_menus.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Steam') 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; -- cgit v1.2.3