diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-19 17:32:07 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-22 12:45:38 +0000 |
commit | 9897380f02cc56847d754934c07934f247fccebf (patch) | |
tree | d614d58cafb035391e0a41e7661e088197e3fe6d | |
parent | b4c417233bb8feeb3c0dfc6ce7969f2252c6c3e2 (diff) | |
download | telepathy-logger-9897380f02cc56847d754934c07934f247fccebf.tar.gz |
use dbus_g_method_return_error if tp_dbus_daemon cannot be acquired
-rw-r--r-- | telepathy-logger/dbus-service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-logger/dbus-service.c b/telepathy-logger/dbus-service.c index 2f83e15..6f00c44 100644 --- a/telepathy-logger/dbus-service.c +++ b/telepathy-logger/dbus-service.c @@ -137,6 +137,7 @@ tpl_dbus_service_get_recent_messages (TplSvcLogger *self, if (tp_dbus == NULL) { DEBUG ("Unable to acquire the bus daemon: %s", error->message); + dbus_g_method_return_error (context, error); goto out; } @@ -159,6 +160,7 @@ tpl_dbus_service_get_recent_messages (TplSvcLogger *self, dbus_g_method_return_error (context, error); goto out; } + /* for each date returned, get at most <lines> lines, then if needed * check the previous date for the missing ones, and so on until * <lines> is reached, most recent date first */ |