diff options
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;
|