summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_netlib.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-24 16:04:55 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-24 16:04:55 +0000
commit83f05d582cdb837cef1b2c103ebb1e2a00568371 (patch)
treeb5b40d269f65e52efe432e6e913c5d6b8a06276a /protocols/Skype/src/skype_netlib.cpp
parent4330f80c5e76c7cbc277ff27e57d3abc308bc915 (diff)
fixes crashes for work with last proto changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3756 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_netlib.cpp')
-rw-r--r--protocols/Skype/src/skype_netlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_netlib.cpp b/protocols/Skype/src/skype_netlib.cpp
index 0ff4e3c9e9..7401e8c84e 100644
--- a/protocols/Skype/src/skype_netlib.cpp
+++ b/protocols/Skype/src/skype_netlib.cpp
@@ -84,7 +84,7 @@ void CSkypeProto::Log(const wchar_t *fmt, ...)
wchar_t msg[1024];
va_start(va, fmt);
- ::mir_vsntprintf(msg, sizeof(msg), fmt, va);
+ ::mir_vsntprintf(msg, SIZEOF(msg), fmt, va);
va_end(va);
::CallService(MS_NETLIB_LOGW, (WPARAM)this->hNetLibUser, (LPARAM)msg);