From 30ee89a6764a8d38a078374c6ed5de70635b42c0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Aug 2013 10:57:40 +0000 Subject: rest or mir_*printf in protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@5715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/oauth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/src/oauth.cpp b/protocols/Twitter/src/oauth.cpp index 7a9a761bb6..a0ff221cd2 100644 --- a/protocols/Twitter/src/oauth.cpp +++ b/protocols/Twitter/src/oauth.cpp @@ -329,7 +329,7 @@ wstring mir_twitter::OAuthNormalizeUrl( const wstring& url ) if(Compare(brokenURL[L"scheme"], L"http", false) && !(Compare(brokenURL[L"port"], L"80", false)) || (Compare(brokenURL[L"scheme"], L"https", false) && !(Compare(brokenURL[L"port"], L"443", false)))) { - swprintf_s(port, SIZEOF(port), L":%s", brokenURL[L"port"]); + mir_snwprintf(port, SIZEOF(port), L":%s", brokenURL[L"port"]); } // InternetCrackUrl includes ? and # elements in the path, @@ -411,7 +411,7 @@ wstring mir_twitter::OAuthCreateTimestamp() _ASSERTE(ret != -1); wchar_t buf[100] = {}; - swprintf_s(buf, SIZEOF(buf), L"%I64u", utcNow); + mir_snwprintf(buf, SIZEOF(buf), L"%I64u", utcNow); return buf; } -- cgit v1.2.3