summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-09-12 21:53:52 +0300
committeraunsane <aunsane@gmail.com>2017-09-12 22:03:37 +0300
commit6611ef6791a897d23cb79ab7b56eb48d49452b80 (patch)
treeb3e2a5d423d502cca474997e827b388aaf8fd6dc /plugins/CloudFile/src
parentf2656f118f63643151e53694bd223018c29b4a55 (diff)
CloudFile: fix netlib description
Diffstat (limited to 'plugins/CloudFile/src')
-rw-r--r--plugins/CloudFile/src/events.cpp1
-rw-r--r--plugins/CloudFile/src/main.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/events.cpp b/plugins/CloudFile/src/events.cpp
index 33e0419603..6fcfed3445 100644
--- a/plugins/CloudFile/src/events.cpp
+++ b/plugins/CloudFile/src/events.cpp
@@ -18,6 +18,7 @@ int OnModulesLoaded(WPARAM, LPARAM)
HookEvent(ME_MSG_BUTTONPRESSED, OnSrmmButtonPressed);
HookTemporaryEvent(ME_MSG_TOOLBARLOADED, OnSrmmToolbarLoaded);
+
return 0;
}
diff --git a/plugins/CloudFile/src/main.cpp b/plugins/CloudFile/src/main.cpp
index 40a660a490..15f87f8bf3 100644
--- a/plugins/CloudFile/src/main.cpp
+++ b/plugins/CloudFile/src/main.cpp
@@ -40,9 +40,9 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
NETLIBUSER nlu = {};
- nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
+ nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS;
nlu.szSettingsModule = MODULE;
- nlu.szDescriptiveName.w = _A2W("MODULE");
+ nlu.szDescriptiveName.a = MODULE;
hNetlibConnection = Netlib_RegisterUser(&nlu);
InitServices();