diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-12 19:08:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-12 19:08:44 +0000 |
commit | 37d75985201293402712edfecb611fc14aaa1c3a (patch) | |
tree | fe3e353ce99b6462cefe1738c694ad25574b1c70 /protocols/IcqOscarJ/src/utilities.cpp | |
parent | a6a07109358ccf64f4bd43f62ddfa421eccefec3 (diff) |
good bye, ansi
git-svn-id: http://svn.miranda-ng.org/main/trunk@3580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/utilities.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/utilities.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/IcqOscarJ/src/utilities.cpp b/protocols/IcqOscarJ/src/utilities.cpp index a67d63d6c1..53cf92c3f8 100644 --- a/protocols/IcqOscarJ/src/utilities.cpp +++ b/protocols/IcqOscarJ/src/utilities.cpp @@ -1373,23 +1373,6 @@ void CIcqProto::writeDbInfoSettingTLVStringUtf(HANDLE hContact, const char *szSe }
-void CIcqProto::writeDbInfoSettingTLVString(HANDLE hContact, const char *szSetting, oscar_tlv_chain *chain, WORD wTlv)
-{
- oscar_tlv *pTLV = chain->getTLV(wTlv, 1);
-
- if (pTLV && pTLV->wLen > 0)
- {
- char *str = (char*)_alloca(pTLV->wLen + 1);
-
- memcpy(str, pTLV->pData, pTLV->wLen);
- str[pTLV->wLen] = '\0';
- setSettingString(hContact, szSetting, str);
- }
- else
- deleteSetting(hContact, szSetting);
-}
-
-
void CIcqProto::writeDbInfoSettingTLVWord(HANDLE hContact, const char *szSetting, oscar_tlv_chain *chain, WORD wTlv)
{
int num = chain->getNumber(wTlv, 1);
|