summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/MirandaExchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange/src/MirandaExchange.cpp')
-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;
}