[Commits] [SCM] claws branch, master, updated. 3.17.0-94-g34f7aeb
ticho at claws-mail.org
ticho at claws-mail.org
Sun Oct 7 19:16:42 CEST 2018
The branch, master has been updated
via 34f7aeb3297aab661367d1c383dfa83f7afb73b4 (commit)
from 9981c575ca466b3d9be9b1629cd919d01323f1a9 (commit)
Summary of changes:
src/passwordstore.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 34f7aeb3297aab661367d1c383dfa83f7afb73b4
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sun Oct 7 19:16:15 2018 +0200
Improve debug output in passwd_store_set().
diff --git a/src/passwordstore.c b/src/passwordstore.c
index 97f44d3..377e182 100644
--- a/src/passwordstore.c
+++ b/src/passwordstore.c
@@ -121,11 +121,6 @@ gboolean passwd_store_set(PasswordBlockType block_type,
else
p = password;
- debug_print("%s password '%s' in block (%d/%s)%s\n",
- (p == NULL ? "Deleting" : "Storing"),
- password_id, block_type, block_name,
- (encrypted ? ", already encrypted" : "") );
-
/* find correct block (create if needed) */
if ((block = _get_block(block_type, block_name)) == NULL) {
/* If caller wants to delete a password, and even its block
@@ -140,6 +135,11 @@ gboolean passwd_store_set(PasswordBlockType block_type,
}
}
+ debug_print("%s password for '%s' in block (%d/%s)%s\n",
+ (p == NULL ? "Deleting" : "Storing"),
+ password_id, block_type, block_name,
+ (encrypted ? ", already encrypted" : "") );
+
if (p == NULL) {
/* NULL password was passed to us, so delete the entry with
* corresponding id */
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list