From cb511b2098ad3eca2fe0771a205e40f72a6bd14d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 12 Nov 2014 20:32:53 +0000 Subject: WATrack_MPD: -Fixed memory allocation -Minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@10973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack_MPD/src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Watrack_MPD/src/init.cpp') diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 9b33425cb7..3a1b47de37 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -57,7 +57,7 @@ void InitVars() gbPassword = UniGetContactSettingUtf(NULL, szModuleName, "Password", _T("")); } -static int OnModulesLoaded(WPARAM wParam, LPARAM lParam) +static int OnModulesLoaded(WPARAM, LPARAM) { NETLIBUSER nlu = {0}; nlu.cbSize = sizeof(nlu); @@ -66,7 +66,7 @@ static int OnModulesLoaded(WPARAM wParam, LPARAM lParam) nlu.szSettingsModule = __PLUGIN_NAME; ghNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu); InitVars(); - if (ServiceExists("WATrack/Player")) + if (ServiceExists(MS_WAT_PLAYER)) bWatrackService = TRUE; RegisterPlayer(); -- cgit v1.2.3