summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_events.cpp')
-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
+}