From 69ce38c44ac31589e031e8a7a0f0a7178f4069dd Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 3 Aug 2011 12:52:08 +0200 Subject: [PATCH] Don't flag a parameter has secret if we are about to remove it This leads the parameter has not actually being removed in the key file backend. https://bugs.freedesktop.org/show_bug.cgi?id=39796 --- src/plugin-account.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/plugin-account.c b/src/plugin-account.c index 99b1681..1cc5cdc 100644 --- a/src/plugin-account.c +++ b/src/plugin-account.c @@ -656,7 +656,7 @@ _storage_set_string (McdStorage *storage, if (tp_strdiff (old, val)) { - if (secret) + if (secret && val != NULL) { McpAccountManager *ma = MCP_ACCOUNT_MANAGER (self); -- 1.7.4.1