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/Xfire/src/tools.cpp | |
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/Xfire/src/tools.cpp')
-rw-r--r-- | protocols/Xfire/src/tools.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp index 38dcb396e8..3b1427d3af 100644 --- a/protocols/Xfire/src/tools.cpp +++ b/protocols/Xfire/src/tools.cpp @@ -37,7 +37,7 @@ extern HANDLE hNetlib; /*char* tohex(unsigned char*buf,int size) { static char buffer[1024*10]=""; - strcpy(buffer,""); + mir_strcpy(buffer,""); for(int i=0;i<size;i++) { @@ -67,12 +67,12 @@ BOOL str_replace(char*src, char*find, char*rep) { char *temp = new char[mir_strlen(src) + mir_strlen(rep) + 1]; - strcpy(temp, src); + mir_strcpy(temp, src); *(temp + pos) = 0; strcat(temp, rep); strcat(temp, (src + pos + mir_strlen(find))); - strcpy(src, temp); + mir_strcpy(src, temp); delete[] temp; |