aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-auto-salut-account-helper.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 20:48:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:13:41 +0800
commit367020d3ffc220ced07c93c3cc13841ed2a383ab (patch)
tree1ed9c9c379b3c07a36d2327521f4ec0075a42613 /src/empathy-auto-salut-account-helper.c
parent95cd2370571dafcd4aab34ebb93499b915a70bcb (diff)
downloadgsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar.gz
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar.bz2
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar.lz
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar.xz
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.tar.zst
gsoc2013-empathy-367020d3ffc220ced07c93c3cc13841ed2a383ab.zip
there is no reasy why error would be NULL if e_book_get_self failed
Diffstat (limited to 'src/empathy-auto-salut-account-helper.c')
-rw-r--r--src/empathy-auto-salut-account-helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/empathy-auto-salut-account-helper.c b/src/empathy-auto-salut-account-helper.c
index a5fbcf0c3..ad4d6cbc0 100644
--- a/src/empathy-auto-salut-account-helper.c
+++ b/src/empathy-auto-salut-account-helper.c
@@ -98,8 +98,7 @@ create_salut_account_settings (void)
/* Get self EContact from EDS */
if (!e_book_get_self (&contact, &book, &error))
{
- DEBUG ("Failed to get self econtact: %s",
- error ? error->message : "No error given");
+ DEBUG ("Failed to get self econtact: %s", error->message);
g_error_free (error);
return settings;
}