diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-05-11 20:12:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-05-11 20:12:46 +0000 |
commit | 488f93815d3c247376f038377e7bc3731b074231 (patch) | |
tree | 284f30d88e1b183792592c4066d9a7abe0bf6d81 /plugins/Dropbox/src/dropbox_events.cpp | |
parent | db8cf4c1b0a624fd469c462e41a1e499ae808b70 (diff) |
Dropbox: work commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@13556 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_events.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_events.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Dropbox/src/dropbox_events.cpp b/plugins/Dropbox/src/dropbox_events.cpp index 4c555b95d5..e66706cd06 100644 --- a/plugins/Dropbox/src/dropbox_events.cpp +++ b/plugins/Dropbox/src/dropbox_events.cpp @@ -18,7 +18,7 @@ int CDropbox::OnModulesLoaded(void *obj, WPARAM, LPARAM) CDropbox *instance = (CDropbox*)obj;
- instance->hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
+ instance->hNetlibConnection = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
instance->GetDefaultContact();
@@ -56,10 +56,9 @@ int CDropbox::OnContactDeleted(void *obj, WPARAM hContact, LPARAM) {
CDropbox *instance = (CDropbox*)obj;
- if (mir_strcmpi(GetContactProto(hContact), MODULE) == 0) {
+ if (mir_strcmpi(GetContactProto(hContact), MODULE) == 0)
if (instance->HasAccessToken())
- instance->DestroyAcceessToken();
- }
+ instance->DestroyAccessToken();
return 0;
}
|