diff options
author | George Hazan <ghazan@miranda.im> | 2017-06-05 14:14:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-06-05 14:14:54 +0300 |
commit | 9a80a756aa3bee92b85e09466b234c4c26c744b4 (patch) | |
tree | 5e6de095198102dee23e6ea4ba1d96e00c385753 /protocols/MSN/src/msn_lists.cpp | |
parent | 0407b43e6cab29046775ecaf73b31f2a7ee3b95b (diff) |
MSN
- fix for rare crash;
- all pre-MSNP24 code removed
Diffstat (limited to 'protocols/MSN/src/msn_lists.cpp')
-rw-r--r-- | protocols/MSN/src/msn_lists.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/protocols/MSN/src/msn_lists.cpp b/protocols/MSN/src/msn_lists.cpp index c73bfbc9d6..b59df57808 100644 --- a/protocols/MSN/src/msn_lists.cpp +++ b/protocols/MSN/src/msn_lists.cpp @@ -24,6 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "msn_proto.h"
#include "m_smileyadd.h"
+const char sttVoidUid[] = "{00000000-0000-0000-0000-000000000000}";
+
void CMsnProto::Lists_Uninit(void)
{
Lists_Wipe();
@@ -140,28 +142,6 @@ int CMsnProto::Lists_GetNetId(const char* email) return p ? p->netId : NETID_UNKNOWN;
}
-#ifdef OBSOLETE
-unsigned CMsnProto::p2p_getMsgId(const char* wlid, int inc)
-{
- mir_cslock lck(m_csLists);
- MsnPlace *p = Lists_GetPlace(wlid);
-
- unsigned res = p && p->p2pMsgId ? p->p2pMsgId : MSN_GenRandom();
- if (p)
- p->p2pMsgId = res + inc;
-
- return res;
-}
-
-unsigned CMsnProto::p2p_getPktNum(const char* wlid)
-{
- mir_cslock lck(m_csLists);
-
- MsnPlace *p = Lists_GetPlace(wlid);
- return p ? p->p2pPktNum++ : 0;
-}
-#endif
-
int CMsnProto::Lists_Add(int list, int netId, const char* email, MCONTACT hContact, const char* nick, const char* invite)
{
mir_cslock lck(m_csLists);
|