summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp')
-rw-r--r--plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
index 5d34c90513..12201aea07 100644
--- a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
+++ b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
@@ -292,12 +292,12 @@ void CExImContactBase::toIni(FILE* file, int modCount)
if (_pszProto == NULL || !loaded) {
if (_pszProto){
if (_pszNick)
- mir_snprintf(name, sizeof(name),"%s (%s)", _pszNick, _pszProto);
+ mir_snprintf(name, SIZEOF(name),"%s (%s)", _pszNick, _pszProto);
else
- mir_snprintf(name, sizeof(name),"(UNKNOWN) (%s)", _pszProto);
+ mir_snprintf(name, SIZEOF(name),"(UNKNOWN) (%s)", _pszProto);
}
else
- mir_snprintf(name, sizeof(name),"(UNKNOWN)");
+ mir_snprintf(name, SIZEOF(name),"%s", "(UNKNOWN)");
}
else {
// Proto loadet - GetContactName(hContact,pszProto,0)
@@ -316,9 +316,9 @@ void CExImContactBase::toIni(FILE* file, int modCount)
}
LPSTR pszUID = uid2String(FALSE);
if (_pszUIDKey && pszUID)
- mir_snprintf(name, sizeof(name), "%s *(%s)*<%s>*{%s}*", pszCI, _pszProto, _pszUIDKey, pszUID);
+ mir_snprintf(name, SIZEOF(name), "%s *(%s)*<%s>*{%s}*", pszCI, _pszProto, _pszUIDKey, pszUID);
else
- mir_snprintf(name, sizeof(name), "%s (%s)", pszCI, _pszProto);
+ mir_snprintf(name, SIZEOF(name), "%s (%s)", pszCI, _pszProto);
mir_free(pszCI);
mir_free(pszUID);