diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:42:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:42:33 +0000 |
commit | 2c9a9bfed50529645b5b0d5602b2a94b0b5ef900 (patch) | |
tree | c37308fe848836674bab8ba25a00a7b87079fee0 /protocols/AimOscar/src/server.cpp | |
parent | a7ecea148c70da66f744a0036f985bc97804d8b4 (diff) |
unified project for AIM
git-svn-id: http://svn.miranda-ng.org/main/trunk@13182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/server.cpp')
-rw-r--r-- | protocols/AimOscar/src/server.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp index 743966c18a..9256800a9d 100644 --- a/protocols/AimOscar/src/server.cpp +++ b/protocols/AimOscar/src/server.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "aim.h"
+#include "stdafx.h"
void CAimProto::snac_md5_authkey(SNAC &snac,HANDLE hServerConn,unsigned short &seqno, const char* username, const char* password)//family 0x0017
{
@@ -758,7 +758,7 @@ void CAimProto::process_ssi_list(SNAC &snac, int &offset) break;
case 0x0014: //avatar record
- if (!_strcmps(name, "1") || !_strcmps(name, "12")) {
+ if (!mir_strcmp(name, "1") || !mir_strcmp(name, "12")) {
if (name_length == 1)
avatar_id_sm = item_id;
else
@@ -768,7 +768,6 @@ void CAimProto::process_ssi_list(SNAC &snac, int &offset) TLV tlv(snac.val(tlv_base + tlv_offset));
if (tlv.cmp(0x00d5) && tlv.len() > 2) {
- unsigned char type = tlv.ubyte(0);
if (name_length == 1) {
mir_free(hash_sm);
hash_sm = bytes_to_string(tlv.val() + 2, tlv.ubyte(1));
@@ -899,7 +898,7 @@ void CAimProto::modify_ssi_list(SNAC &snac, int &offset) break;
case 0x0014: //avatar record
- if (!_strcmps(name, "1") || !_strcmps(name, "12"))
+ if (!mir_strcmp(name, "1") || !mir_strcmp(name, "12"))
{
if (name_length == 1)
avatar_id_sm = item_id;
@@ -969,13 +968,13 @@ void CAimProto::delete_ssi_list(SNAC &snac, int &offset) break;
case 0x0014: //avatar record
- if (_strcmps(name, "1"))
+ if (mir_strcmp(name, "1"))
{
avatar_id_sm = 0;
mir_free(hash_sm);
hash_sm = NULL;
}
- else if (!_strcmps(name, "12"))
+ else if (!mir_strcmp(name, "12"))
{
avatar_id_lg = 0;
mir_free(hash_lg);
|