diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:01:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:01:01 +0000 |
commit | d5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e (patch) | |
tree | 47da9333297ad6bd11d88762adba1ad5d55fa940 /protocols/IcqOscarJ/src | |
parent | ab13aa962b5064fe85ec0562c04d16e8920e92e0 (diff) |
replace strncat to mir_strncat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_clients.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/IcqOscarJ/src/icq_clients.cpp b/protocols/IcqOscarJ/src/icq_clients.cpp index 79f6e6d9e9..275dce0f04 100644 --- a/protocols/IcqOscarJ/src/icq_clients.cpp +++ b/protocols/IcqOscarJ/src/icq_clients.cpp @@ -514,12 +514,12 @@ const char* CIcqProto::detectUserClient( }
else if (capId = MatchCapability(caps, wLen, &capmChat, 0xA)) {
mir_strcpy(szClientBuf, "mChat ");
- strncat(szClientBuf, (char*)(*capId) + 0xA, 6);
+ mir_strncat(szClientBuf, (char*)(*capId) + 0xA, 6);
szClient = szClientBuf;
}
else if (capId = MatchCapability(caps, wLen, &capJimm, 5)) {
mir_strcpy(szClientBuf, "Jimm ");
- strncat(szClientBuf, (char*)(*capId) + 5, 11);
+ mir_strncat(szClientBuf, (char*)(*capId) + 5, 11);
szClient = szClientBuf;
}
// http://corepager.net.ru/index/0-2
@@ -538,7 +538,7 @@ const char* CIcqProto::detectUserClient( // http://darkjimm.ucoz.ru/
else if (capId = MatchCapability(caps, wLen, &capDiChat, 9)) {
mir_strcpy(szClientBuf, "D[i]Chat");
- strncat(szClientBuf, (char*)(*capId) + 8, 8);
+ mir_strncat(szClientBuf, (char*)(*capId) + 8, 8);
szClient = szClientBuf;
}
else if (MatchCapability(caps, wLen, &capMacIcq))
@@ -569,31 +569,31 @@ const char* CIcqProto::detectUserClient( makeClientVersion(szClientBuf, "MIP ", ver1, ver2, ver3, ver4);
else {
mir_strcpy(szClientBuf, "MIP ");
- strncat(szClientBuf, (char*)(*capId) + 11, 5);
+ mir_strncat(szClientBuf, (char*)(*capId) + 11, 5);
}
szClient = szClientBuf;
}
//http://mip.rufon.net - new signature
else if (capId = MatchCapability(caps, wLen, &capMipClient, 0x04)) {
mir_strcpy(szClientBuf, "MIP ");
- strncat(szClientBuf, (char*)(*capId) + 4, 12);
+ mir_strncat(szClientBuf, (char*)(*capId) + 4, 12);
szClient = szClientBuf;
}
else if (capId = MatchCapability(caps, wLen, &capVmIcq, 0x06)) {
mir_strcpy(szClientBuf, "VmICQ");
- strncat(szClientBuf, (char*)(*capId) + 5, 11);
+ mir_strncat(szClientBuf, (char*)(*capId) + 5, 11);
szClient = szClientBuf;
}
// http://www.smape.com/smaper
else if (capId = MatchCapability(caps, wLen, &capSmapeR, 0x07)) {
mir_strcpy(szClientBuf, "SmapeR");
- strncat(szClientBuf, (char*)(*capId) + 6, 10);
+ mir_strncat(szClientBuf, (char*)(*capId) + 6, 10);
szClient = szClientBuf;
}
// http://yapp.ru
else if (capId = MatchCapability(caps, wLen, &capYapp, 0x04)) {
mir_strcpy(szClientBuf, "Yapp! v");
- strncat(szClientBuf, (char*)(*capId) + 8, 5);
+ mir_strncat(szClientBuf, (char*)(*capId) + 8, 5);
szClient = szClientBuf;
}
// http://www.dibsby.com (newer builds)
@@ -640,7 +640,7 @@ const char* CIcqProto::detectUserClient( // http://www.barobin.com/bayanICQ.html
else if (capId = MatchCapability(caps, wLen, &capBayan, 8)) {
mir_strcpy(szClientBuf, "bayanICQ ");
- strncat(szClientBuf, (char*)(*capId) + 8, 5);
+ mir_strncat(szClientBuf, (char*)(*capId) + 8, 5);
szClient = szClientBuf;
}
else if (capId = MatchCapability(caps, wLen, &capJabberJIT, 0x04))
|