From b7c74cd5b22618d544a3f4ae124985d4837e3a22 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Jun 2015 22:12:13 +0000 Subject: new mir_snprintf templates without SIZEOF git-svn-id: http://svn.miranda-ng.org/main/trunk@14002 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_contact.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MSN/src/msn_contact.cpp') diff --git a/protocols/MSN/src/msn_contact.cpp b/protocols/MSN/src/msn_contact.cpp index b79ddcb6af..7ae6366836 100644 --- a/protocols/MSN/src/msn_contact.cpp +++ b/protocols/MSN/src/msn_contact.cpp @@ -113,13 +113,13 @@ void CMsnProto::AddDelUserContList(const char* email, const int list, const int if (list < LIST_RL) { const char* dom = strchr(email, '@'); if (dom == NULL) { - sz = mir_snprintf(buf, SIZEOF(buf), + sz = mir_snprintf(buf, "", email, list); } else { *(char*)dom = 0; - sz = mir_snprintf(buf, SIZEOF(buf), + sz = mir_snprintf(buf, "", dom + 1, email, list, netId); *(char*)dom = '@'; @@ -257,7 +257,7 @@ void CMsnProto::MSN_FindYahooUser(const char* email) size_t sz; *(char*)dom = '\0'; - sz = mir_snprintf(buf, SIZEOF(buf), "", dom + 1, email); + sz = mir_snprintf(buf, "", dom + 1, email); *(char*)dom = '@'; msnNsThread->sendPacket("FQY", "%d\r\n%s", sz, buf); } -- cgit v1.2.3