summaryrefslogtreecommitdiff
path: root/protocols/Steam
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-12-28 08:24:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-12-28 08:24:44 +0000
commit22c5df52835fba4c953ffa19c012400853c883a6 (patch)
tree2f0539181b410770c177f27b63976722003f48e5 /protocols/Steam
parent25a3d451ff3689d614656af2c3b576c3b628c7c9 (diff)
Steam: attempt to fix #1115
git-svn-id: http://svn.miranda-ng.org/main/trunk@15945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam')
-rw-r--r--protocols/Steam/src/steam_events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp
index 3c57248900..c416cbd957 100644
--- a/protocols/Steam/src/steam_events.cpp
+++ b/protocols/Steam/src/steam_events.cpp
@@ -20,7 +20,7 @@ int CSteamProto::OnModulesLoaded(WPARAM, LPARAM)
int CSteamProto::OnPreShutdown(WPARAM, LPARAM)
{
- Netlib_CloseHandle(this->m_hNetlibUser);
+ Netlib_Shutdown(this->m_hNetlibUser);
this->m_hNetlibUser = NULL;
return 0;
}
@@ -75,7 +75,7 @@ int CSteamProto::OnIdleChanged(WPARAM, LPARAM lParam)
// User started being idle
MIRANDA_IDLE_INFO mii = { sizeof(mii) };
CallService(MS_IDLE_GETIDLEINFO, 0, (LPARAM)&mii);
-
+
// Compute time when user really became idle
m_idleTS = time(0) - mii.idleTime * 60;
setDword("IdleTS", m_idleTS);
@@ -88,4 +88,4 @@ int CSteamProto::OnIdleChanged(WPARAM, LPARAM lParam)
}
return 0;
-} \ No newline at end of file
+}