summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_commands.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-06-04 12:10:46 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-06-04 12:10:46 +0000
commitde1841e8600420cf3cf35cb73d6e0226a9519687 (patch)
tree7ec105c6a941070ddd7e5fa84c3f6a36a9d8dacc /protocols/MSN/src/msn_commands.cpp
parent9f5554e211907907ec149a7c8919bc70daf77026 (diff)
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
Diffstat (limited to 'protocols/MSN/src/msn_commands.cpp')
-rw-r--r--protocols/MSN/src/msn_commands.cpp3
1 files changed, 2 insertions, 1 deletions
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 */
}