diff options
Diffstat (limited to 'src/core/wee-secure.c')
-rw-r--r-- | src/core/wee-secure.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/wee-secure.c b/src/core/wee-secure.c index 5d92199c6..3a451b94d 100644 --- a/src/core/wee-secure.c +++ b/src/core/wee-secure.c @@ -455,7 +455,12 @@ secure_decrypt_data_not_decrypted (const char *passphrase) keys = string_split (hashtable_get_string (secure_hashtable_data_encrypted, "keys"), - ",", 0, 0, &num_keys); + ",", + WEECHAT_STRING_SPLIT_STRIP_LEFT + | WEECHAT_STRING_SPLIT_STRIP_RIGHT + | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS, + 0, + &num_keys); if (keys) { for (i = 0; i < num_keys; i++) |