summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-01-15 05:30:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-01-15 05:30:40 +0000
commit5b6dc245402e5c3395e169cedf2945aedbcd07ab (patch)
treecd0c0105b907888781d1c45fbb01cc4bd1a1189c /protocols/IcqOscarJ
parent069eaba45e1f12ba72939ae735e4fa493df5b02b (diff)
revert [16084]. don't need specify buffer size
git-svn-id: http://svn.miranda-ng.org/main/trunk@16092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_clients.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_clients.cpp b/protocols/IcqOscarJ/src/icq_clients.cpp
index b90a877411..add5fa3ad4 100644
--- a/protocols/IcqOscarJ/src/icq_clients.cpp
+++ b/protocols/IcqOscarJ/src/icq_clients.cpp
@@ -941,7 +941,7 @@ const char* CIcqProto::detectUserClient(
capId = MatchCapability(caps, wLen, &capMimPack, 4);
if (capId) {
char szPack[16];
- mir_snprintf(szPack, sizeof(szPack), " [%.12s]", (*capId) + 4);
+ mir_snprintf(szPack, " [%.12s]", (*capId) + 4);
// make sure client string is not constant
if (szClient != szClientBuf) {