summaryrefslogtreecommitdiff
path: root/protocols/Twitter
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-16 10:57:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-16 10:57:40 +0000
commit30ee89a6764a8d38a078374c6ed5de70635b42c0 (patch)
tree464bbd4c8e32200107d42c5f95b13134edf42888 /protocols/Twitter
parente3c401f192327347151a70596a6b0b493bc762b1 (diff)
rest or mir_*printf in protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@5715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter')
-rw-r--r--protocols/Twitter/src/oauth.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}