summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
authorMaciej Wycik <makar@poczta.of.pl>2015-01-09 21:23:19 +0000
committerMaciej Wycik <makar@poczta.of.pl>2015-01-09 21:23:19 +0000
commitbbd287fc6623197101227c820379a3b5ef4358f7 (patch)
tree75f6dadf25a4507e8985ec387dcf82a5f4a8522b /plugins/Exchange
parentea78c185f62b8f558621d1ca5fac6292a2bda75b (diff)
this little exclamation mark makes plugin unusable!
git-svn-id: http://svn.miranda-ng.org/main/trunk@11809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange')
-rw-r--r--plugins/Exchange/src/MirandaExchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp
index 58c54d0d4c..d587f9ceb5 100644
--- a/plugins/Exchange/src/MirandaExchange.cpp
+++ b/plugins/Exchange/src/MirandaExchange.cpp
@@ -534,7 +534,7 @@ HRESULT CMirandaExchange::CreateProfile( LPTSTR szProfileName )
return hr;
hr = pProfAdmin->CreateProfile((LPTSTR)mir_t2a(szProfileName), NULL, NULL, ulFlags);
- if (!FAILED(hr)) {
+ if (FAILED(hr)) {
pProfAdmin->DeleteProfile((LPTSTR)mir_t2a(szProfileName), ulFlags);
return hr;
}