summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ex_import
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import')
-rw-r--r--plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
index 12201aea07..d0f2a7e6f7 100644
--- a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
+++ b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
@@ -297,7 +297,7 @@ void CExImContactBase::toIni(FILE* file, int modCount)
mir_snprintf(name, SIZEOF(name),"(UNKNOWN) (%s)", _pszProto);
}
else
- mir_snprintf(name, SIZEOF(name),"%s", "(UNKNOWN)");
+ strncpy_s(name, "(UNKNOWN)", _TRUNCATE);
}
else {
// Proto loadet - GetContactName(hContact,pszProto,0)