summaryrefslogtreecommitdiff
path: root/plugins/IEHistory
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:25:49 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:25:49 +0000
commitf2de79cb2eb8247548650ee80d75be109ac66ee7 (patch)
tree5f6ae43436ad92857bc3361556e581dea0a28270 /plugins/IEHistory
parent83810fbdf96dc0a842bf149cfa40749e95b0fe63 (diff)
replace strcat to mir_strcat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEHistory')
-rw-r--r--plugins/IEHistory/src/stdafx.h2
-rw-r--r--plugins/IEHistory/src/utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h
index cfc7fc60d1..daaa9d2916 100644
--- a/plugins/IEHistory/src/stdafx.h
+++ b/plugins/IEHistory/src/stdafx.h
@@ -61,7 +61,7 @@ static FILE* fopen_s2(const char* file,const char* mode){
return ret;
}
#define fopen fopen_s2
-#define strcat strcat_s
+#define mir_strcat strcat_s
#define _vsnprintf _vsnprintf_s
#define snprintf _snprintf_s
#define snwprintf _snwprintf_s
diff --git a/plugins/IEHistory/src/utils.cpp b/plugins/IEHistory/src/utils.cpp
index 1e77aac420..d1f7f704bf 100644
--- a/plugins/IEHistory/src/utils.cpp
+++ b/plugins/IEHistory/src/utils.cpp
@@ -49,7 +49,7 @@ int Log(char *format, ...)
va_end(vararg);
if (str[mir_strlen(str) - 1] != '\n')
{
- strcat(str, "\n");
+ mir_strcat(str, "\n");
}
fputs(str, fout);
fclose(fout);