From 6c566522b8e1dcae7a6e12253f4747c7213926e9 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 23 Sep 2013 15:52:06 +0200 Subject: [PATCH 3/4] sqlite: deal with g_date_time_new_from_unix_utc() failing https://bugs.freedesktop.org/show_bug.cgi?id=69715 --- telepathy-logger/log-store-sqlite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/telepathy-logger/log-store-sqlite.c b/telepathy-logger/log-store-sqlite.c index 0cb74e3..6d7b166 100644 --- a/telepathy-logger/log-store-sqlite.c +++ b/telepathy-logger/log-store-sqlite.c @@ -329,6 +329,7 @@ get_date (TplEvent *event) gchar *date; ts = g_date_time_new_from_unix_utc (tpl_event_get_timestamp (event)); + g_return_val_if_fail (ts != NULL, NULL); date = g_date_time_format (ts, "%Y-%m-%d"); g_date_time_unref (ts); -- 1.8.3.1