From b5b392f1b06f3910ea9cc27b32cb82fea34d6bfa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 4 Jun 2019 17:07:44 +0300 Subject: more fixes for #1963 --- protocols/Gadu-Gadu/src/gg_proto.cpp | 1 - protocols/Gadu-Gadu/src/gg_proto.h | 1 - protocols/ICQCorp/src/protocol.cpp | 2 -- protocols/ICQCorp/src/protocol.h | 1 - protocols/JabberG/src/jabber_util.cpp | 1 - 5 files changed, 6 deletions(-) (limited to 'protocols') diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index d4ee9c7520..6554b18d49 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -112,7 +112,6 @@ GaduProto::~GaduProto() if (modemsg.online) mir_free(modemsg.online); if (modemsg.away) mir_free(modemsg.away); if (modemsg.dnd) mir_free(modemsg.dnd); - if (modemsg.freechat) mir_free(modemsg.freechat); if (modemsg.invisible) mir_free(modemsg.invisible); if (modemsg.offline) mir_free(modemsg.offline); } diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index ada0efe1d8..2e9db7566c 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -239,7 +239,6 @@ struct GaduProto : public PROTO wchar_t *online; wchar_t *away; wchar_t *dnd; - wchar_t *freechat; wchar_t *invisible; wchar_t *offline; }; diff --git a/protocols/ICQCorp/src/protocol.cpp b/protocols/ICQCorp/src/protocol.cpp index 7cffa8094a..bdf3686354 100644 --- a/protocols/ICQCorp/src/protocol.cpp +++ b/protocols/ICQCorp/src/protocol.cpp @@ -1798,7 +1798,6 @@ void ICQ::processTcpPacket(Packet &packet, unsigned int hSocket) case ICQ_CMDxTCP_READxOCCUPIEDxMSG: case ICQ_CMDxTCP_READxNAxMSG: case ICQ_CMDxTCP_READxDNDxMSG: - case ICQ_CMDxTCP_READxFREECHATxMSG: Netlib_Logf(hNetlibUser, "[tcp] %d requested read of away message.\n", checkUin); packet >> theTCPSequence; @@ -1872,7 +1871,6 @@ void ICQ::processTcpPacket(Packet &packet, unsigned int hSocket) case ICQ_CMDxTCP_READxOCCUPIEDxMSG: case ICQ_CMDxTCP_READxNAxMSG: case ICQ_CMDxTCP_READxDNDxMSG: - case ICQ_CMDxTCP_READxFREECHATxMSG: packet >> theTCPSequence; addAwayMsg(u, message, theTCPSequence, time(0)); break; diff --git a/protocols/ICQCorp/src/protocol.h b/protocols/ICQCorp/src/protocol.h index ba75de163b..70d6544acd 100644 --- a/protocols/ICQCorp/src/protocol.h +++ b/protocols/ICQCorp/src/protocol.h @@ -98,7 +98,6 @@ const unsigned short ICQ_CMDxTCP_READxAWAYxMSG = 0x03E8; const unsigned short ICQ_CMDxTCP_READxOCCUPIEDxMSG = 0x03E9; const unsigned short ICQ_CMDxTCP_READxNAxMSG = 0x03EA; const unsigned short ICQ_CMDxTCP_READxDNDxMSG = 0x03EB; -const unsigned short ICQ_CMDxTCP_READxFREECHATxMSG = 0x03EC; const unsigned short ICQ_CMDxTCP_HANDSHAKE = 0x03FF; const unsigned short ICQ_CMDxTCP_HANDSHAKE2 = 0x04FF; const unsigned short ICQ_CMDxTCP_HANDSHAKE3 = 0x02FF; diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 2def1c9bc5..cfa261de6b 100755 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -197,7 +197,6 @@ void JabberHttpUrlDecode(wchar_t *str) int JabberCombineStatus(int status1, int status2) { // Combine according to the following priority (high to low) - // ID_STATUS_FREECHAT // ID_STATUS_ONLINE // ID_STATUS_DND // ID_STATUS_AWAY -- cgit v1.2.3