summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/ping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/ping.cpp')
-rw-r--r--plugins/Ping/src/ping.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp
index f107f5a9d3..64dd259a65 100644
--- a/plugins/Ping/src/ping.cpp
+++ b/plugins/Ping/src/ping.cpp
@@ -79,12 +79,10 @@ int OnShutdown(WPARAM wParam, LPARAM lParam) {
return 0;
}
-int OnModulesLoaded(WPARAM wParam, LPARAM lParam) {
+int OnModulesLoaded(WPARAM, LPARAM) {
NETLIBUSER nl_user = {0};
nl_user.cbSize = sizeof(nl_user);
nl_user.szSettingsModule = PLUG;
- //nl_user.flags = NUF_OUTGOING | NUF_HTTPGATEWAY | NUF_NOOPTIONS;
- //nl_user.flags = NUF_OUTGOING | NUF_NOOPTIONS;
nl_user.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_TCHAR;
nl_user.ptszDescriptiveName = TranslateT("Ping Plugin");
nl_user.szHttpGatewayHello = 0;
@@ -114,7 +112,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) {
graphs_init();
- if(options.logging) CallService(PLUG "/Log", (WPARAM)"start", 0);
+ if(options.logging) CallService(PLUG "/Log", (WPARAM)_T("start"), 0);
return 0;
}
@@ -164,7 +162,7 @@ extern "C" __declspec(dllexport) int Unload(void)
CloseHandle( mainThread );
- if(options.logging) CallService(PLUG "/Log", (WPARAM)"stop", 0);
+ if(options.logging) CallService(PLUG "/Log", (WPARAM)_T("stop"), 0);
return 0;
}