summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-16 12:44:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-16 12:44:38 +0000
commit907116c051e995a6a593743c7a6dfdece747c2c0 (patch)
tree59d079cb818382ae09840da99e3be1b58abffff5 /plugins/UserInfoEx
parentbec34b3f632d179368f00b49e984ac576f14fad4 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r--plugins/UserInfoEx/src/svc_refreshci.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/svc_refreshci.cpp b/plugins/UserInfoEx/src/svc_refreshci.cpp
index 31195555a1..ebbcb09d65 100644
--- a/plugins/UserInfoEx/src/svc_refreshci.cpp
+++ b/plugins/UserInfoEx/src/svc_refreshci.cpp
@@ -836,17 +836,17 @@ static INT_PTR RefreshService(WPARAM wParam, LPARAM lParam)
*
*
**/
-static int OnContactAdded(WPARAM wParam, LPARAM lParam)
+static int OnContactAdded(WPARAM hContact, LPARAM lParam)
{
try
{
- DWORD dwStmp = db_get_dw(wParam, USERINFO, SET_CONTACT_ADDEDTIME, 0);
+ DWORD dwStmp = db_get_dw(hContact, USERINFO, SET_CONTACT_ADDEDTIME, 0);
if (!dwStmp)
{
MTime mt;
mt.GetLocalTime();
- mt.DBWriteStamp(wParam, USERINFO, SET_CONTACT_ADDEDTIME);
+ mt.DBWriteStamp(hContact, USERINFO, SET_CONTACT_ADDEDTIME);
// create updater, if not yet exists
if (!ContactUpdater)
@@ -858,7 +858,7 @@ static int OnContactAdded(WPARAM wParam, LPARAM lParam)
ContactUpdater->AddIfDontHave(
(ContactUpdater->Size() > 0)
? max(ContactUpdater->Get(ContactUpdater->Size() - 1)->check_time + 15000, 4000)
- : 4000, wParam);
+ : 4000, hContact);
}
}
catch(...)