From de1841e8600420cf3cf35cb73d6e0226a9519687 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Thu, 4 Jun 2015 12:10:46 +0000 Subject: Fixed a memleak in groupchat Added support for contact list fetching for plain Skype user finally enabling usage of Skype accounts via skylogin.dll (login only working once in a session though, currently cannot find out why). Prevent launching of duplicate keepAliveThread git-svn-id: http://svn.miranda-ng.org/main/trunk@13995 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/MSN/src/msn_commands.cpp') diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp index 938c3b6ea7..35af58d3aa 100644 --- a/protocols/MSN/src/msn_commands.cpp +++ b/protocols/MSN/src/msn_commands.cpp @@ -1019,7 +1019,7 @@ LBL_InvalidCommand: } bSentBND = false; - ForkThread(&CMsnProto::msn_keepAliveThread, NULL); + if (!hKeepAliveThreadEvt) ForkThread(&CMsnProto::msn_keepAliveThread, NULL); #ifdef OBSOLETE /* FIXME: Currently disabled, as P2P maybe not working anymore in MSNP24? */ ForkThread(&CMsnProto::MSNConnDetectThread, NULL); @@ -1122,6 +1122,7 @@ LBL_InvalidCommand: MSN_ProcessURIObject(hContact, xmlact); ezxml_free(xmlact); } + continue; } else if (mir_strcmp(msgtype->txt, "Text")) continue; /* TODO: Implement i.e. RichText/Files for announcement of file transfers */ } -- cgit v1.2.3