diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-14 11:50:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-14 11:50:55 +0000 |
commit | b52e0fc9d3e21b7f4d649ace51beca9e61692818 (patch) | |
tree | 697540e856b0f8d4daf0c259ab57c6061cbe9678 /plugins/TabSRMM/src/chat | |
parent | 4d3d9100ecba8aec804b1edd2e077f8acb533b3b (diff) |
slack removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r-- | plugins/TabSRMM/src/chat/manager.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/plugins/TabSRMM/src/chat/manager.cpp b/plugins/TabSRMM/src/chat/manager.cpp index 3458ae87c3..13215f3f92 100644 --- a/plugins/TabSRMM/src/chat/manager.cpp +++ b/plugins/TabSRMM/src/chat/manager.cpp @@ -71,12 +71,6 @@ SESSION_INFO* SM_AddSession(const TCHAR* pszID, const char* pszModule) node->ptszID = mir_tstrdup(pszID);
node->pszModule = mir_strdup(pszModule);
- {
- char *p = (char*)node;
- _DebugTraceA("SESSION_INFO allocated: crashes at %lp %lp %lp %lp",
- p + offsetof(SESSION_INFO, wStatus), p + offsetof(SESSION_INFO, wState), p + offsetof(SESSION_INFO, wCommandsNum), p + offsetof(SESSION_INFO, szSearch));
- }
-
MODULEINFO *mi = MM_FindModule(pszModule);
if (mi) {
mi->idleTimeStamp = time(0);
@@ -910,11 +904,7 @@ STATUSINFO * TM_AddStatus(STATUSINFO** ppStatusList, const TCHAR* pszStatus, int if (!TM_FindStatus(*ppStatusList, pszStatus)) {
STATUSINFO *node = (STATUSINFO*)mir_calloc(sizeof(STATUSINFO));
- {
- char *p = (char*)node;
- _DebugTraceA("STATUSINFO allocated: crashes at %lp", p + offsetof(STATUSINFO, Status));
- }
- replaceStrT(node->pszGroup, pszStatus);
+ node->pszGroup = mir_tstrdup(pszStatus);
node->hIcon = (HICON)(*iCount);
while ((int)node->hIcon > STATUSICONCOUNT - 1)
node->hIcon--;
@@ -1102,12 +1092,7 @@ USERINFO* UM_AddUser(STATUSINFO* pStatusList, USERINFO** ppUserList, const TCHAR }
USERINFO *node = (USERINFO*)mir_calloc(sizeof(USERINFO));
- {
- char *p = (char*)node;
- _DebugTraceA("USERINFO allocated: crashes at %lp",
- p + offsetof(USERINFO, Status), p + offsetof(USERINFO, ContactStatus));
- }
- replaceStrT(node->pszUID, pszUID);
+ node->pszUID = mir_tstrdup(pszUID);
if (*ppUserList == NULL) { // list is empty
*ppUserList = node;
|