diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-06-15 18:29:36 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-06-16 11:58:27 +0100 |
commit | bc1b5f1ceea27dbe713217d2dd3e159ad0445b4d (patch) | |
tree | ddf282f16ed9c76700cea76fccb17e24d697b763 | |
parent | 42555e448cfdd8b191ccbe952ff1e91b6994341b (diff) | |
download | telepathy-mission-control-bc1b5f1ceea27dbe713217d2dd3e159ad0445b4d.tar.gz |
McdAccount: clear_register_dup_params_cb: survive if params is NULL
It can be NULL in crash-recovery.py, apparently. Unfortunately, the
async implementation doesn't tell us why it failed, only that it did.
-rw-r--r-- | src/mcd-account.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mcd-account.c b/src/mcd-account.c index 72dafa81..0534cbf0 100644 --- a/src/mcd-account.c +++ b/src/mcd-account.c @@ -3655,6 +3655,12 @@ clear_register_dup_params_cb (McdAccount *self, GHashTable *params, gpointer user_data) { + if (params == NULL) + { + DEBUG ("no params returned"); + return; + } + if (tp_asv_get_boolean (params, "register", NULL)) { GValue value = { 0 }; |