summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-22 22:26:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-22 22:26:47 +0000
commita57b972035bf2866fece4b832849d98e07485a98 (patch)
treeeb4b86cce93c592464b7f46cc1e5a68d0fd81b27 /plugins/Clist_modern/src/modern_clc.cpp
parent0e060269c29a4bf71a8552ba4abd394bc55c2adf (diff)
- minus another critical section;
- struct SHORTDATA => SHORTDATA git-svn-id: http://svn.miranda-ng.org/main/trunk@11592 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index f7dd80ce5f..e6b5cc8717 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -208,8 +208,7 @@ static int clcHookSettingChanged(WPARAM hContact, LPARAM lParam)
else if (!mir_strcmp(cws->szSetting, "XStatusId") || !mir_strcmp(cws->szSetting, "XStatusName"))
cliCluiProtocolStatusChanged(0, cws->szModule);
}
- else // hContact != NULL
- {
+ else {
if (!mir_strcmp(cws->szSetting, "TickTS"))
pcli->pfnClcBroadcast(INTM_STATUSCHANGED, hContact, 0);
else if (!mir_strcmp(cws->szModule, "UserInfo")) {
@@ -1777,7 +1776,7 @@ int ClcDoProtoAck(MCONTACT, ACKDATA * ack)
return 0;
}
-int ClcGetShortData(ClcData* pData, struct SHORTDATA *pShortData)
+int ClcGetShortData(ClcData* pData, SHORTDATA *pShortData)
{
if (!pData || !pShortData)
return -1;