diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-28 16:22:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-28 16:22:41 +0000 |
commit | c370af60855db957c5b200914bf0bde743845528 (patch) | |
tree | 0bd2ef127097c9e937c2650e8b202c3f09453323 /protocols/Tlen/src/tlen_file.cpp | |
parent | 7f082bd5d4865c30b313661b7a02f048b4b137be (diff) |
mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever possible
git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen_file.cpp')
-rw-r--r-- | protocols/Tlen/src/tlen_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tlen/src/tlen_file.cpp b/protocols/Tlen/src/tlen_file.cpp index 887ef89994..f97f47efae 100644 --- a/protocols/Tlen/src/tlen_file.cpp +++ b/protocols/Tlen/src/tlen_file.cpp @@ -551,7 +551,7 @@ void TlenProcessF(XmlNode *node, ThreadData *info) char *from = TlenXmlGetAttrValue(node, "f");
if (from != NULL) {
if (strchr(from, '@') == NULL)
- mir_snprintf(jid, _countof(jid), "%s@%s", from, info->server);
+ mir_snprintf(jid, "%s@%s", from, info->server);
else
strncpy_s(jid, from, _TRUNCATE);
@@ -577,7 +577,7 @@ void TlenProcessF(XmlNode *node, ThreadData *info) else mir_strcpy(szFilename, Translate("1 File"));
}
else if (numFiles > 1)
- mir_snprintf(szFilename, _countof(szFilename), Translate("%d Files"), numFiles);
+ mir_snprintf(szFilename, Translate("%d Files"), numFiles);
}
if (szFilename[0] != '\0' && ft->iqId != NULL) {
|