[Pkg-privacy-commits] [libgsecuredelete] 25/168: Fixed mode checking in get_argument_for_mode()
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit c4d2384b9717bbe94fd927d0b2390876414a0467
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Fri Oct 2 19:48:24 2009 +0200
Fixed mode checking in get_argument_for_mode()
Don't check the global mode but the given one.
---
gsecuredelete/securedelete-operation.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gsecuredelete/securedelete-operation.vala b/gsecuredelete/securedelete-operation.vala
index a0de657..7b4114a 100644
--- a/gsecuredelete/securedelete-operation.vala
+++ b/gsecuredelete/securedelete-operation.vala
@@ -58,7 +58,7 @@ namespace SecureDelete
* added */
protected unowned string? get_argument_for_mode (SecureDeleteOperationMode mode)
{
- switch (this.mode) {
+ switch (mode) {
case SecureDeleteOperationMode.FAST:
return "-f";
case SecureDeleteOperationMode.VERY_FAST:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
More information about the Pkg-privacy-commits
mailing list