From 41a7300678e4bb3cd703e2c236e57af4a31962c7 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Mon, 1 Dec 2014 04:50:22 +0000 Subject: mir_snprintf(..., sizeof() -> SIZEOF(), ...) small fixs cleanups git-svn-id: http://svn.miranda-ng.org/main/trunk@11188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tlen/src/tlen_thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tlen/src/tlen_thread.cpp') diff --git a/protocols/Tlen/src/tlen_thread.cpp b/protocols/Tlen/src/tlen_thread.cpp index 0f634b6cff..c243fa11ec 100644 --- a/protocols/Tlen/src/tlen_thread.cpp +++ b/protocols/Tlen/src/tlen_thread.cpp @@ -206,7 +206,7 @@ void __cdecl TlenServerThread(ThreadData *info) return; } - mir_snprintf(jidStr, sizeof(jidStr), "%s@%s", info->username, info->server); + mir_snprintf(jidStr, SIZEOF(jidStr), "%s@%s", info->username, info->server); db_set_s(NULL, info->proto->m_szModuleName, "jid", jidStr); if (!db_get(NULL, info->proto->m_szModuleName, "ManualHost", &dbv)) { @@ -1188,9 +1188,9 @@ static void TlenProcessV(XmlNode *node, ThreadData *info) if ((from=TlenXmlGetAttrValue(node, "f")) != NULL) { if (strchr(from, '@') == NULL) { - mir_snprintf(jid, sizeof(jid), "%s@%s", from, info->server); + mir_snprintf(jid, SIZEOF(jid), "%s@%s", from, info->server); } else { - mir_snprintf(jid, sizeof(jid), "%s", from); + mir_snprintf(jid, SIZEOF(jid), "%s", from); } if ((e=TlenXmlGetAttrValue(node, "e")) != NULL) { if (!strcmp(e, "1")) { -- cgit v1.2.3