summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src/worker.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 15:10:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 15:10:09 +0000
commitc0dc4dcad95f8d8e95986c61514544b52387408a (patch)
tree6646cc5d571b34cd9731178de1461f2e147fd253 /plugins/DbChecker/src/worker.cpp
parent9fc5ea1dd35c7115d34f9a1372ab4d2e6d966002 (diff)
dbx_mmap to verify password before checking file
git-svn-id: http://svn.miranda-ng.org/main/trunk@7835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbChecker/src/worker.cpp')
-rw-r--r--plugins/DbChecker/src/worker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DbChecker/src/worker.cpp b/plugins/DbChecker/src/worker.cpp
index 7bd1d692b7..a20dfaef6b 100644
--- a/plugins/DbChecker/src/worker.cpp
+++ b/plugins/DbChecker/src/worker.cpp
@@ -64,11 +64,11 @@ static void Finalize(time_t& ts)
AddToStatus(STATUS_WARNING,TranslateT("Unable to rename original file"));
}
else if (!opts.bCheckOnly)
- if ( !DeleteFile(opts.filename))
+ if (!DeleteFile(opts.filename))
AddToStatus(STATUS_WARNING,TranslateT("Unable to delete original file"));
if (!opts.bCheckOnly)
- if ( !MoveFile(opts.outputFilename,opts.filename))
+ if (!MoveFile(opts.outputFilename, opts.filename))
AddToStatus(STATUS_WARNING,TranslateT("Unable to rename output file"));
}