[telepathy-mission-control/master] wait-for-name: initialize error properly if we can't connect to D-Bus
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Jun 26 11:34:01 PDT 2009
Reviewed-by: Will Thompson <will.thompson at collabora.co.uk>
---
util/wait-for-name.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/wait-for-name.c b/util/wait-for-name.c
index dd73787..19fd6f2 100644
--- a/util/wait-for-name.c
+++ b/util/wait-for-name.c
@@ -75,7 +75,7 @@ main (int argc,
}
g_type_init ();
- bus_daemon = tp_dbus_daemon_dup (NULL);
+ bus_daemon = tp_dbus_daemon_dup (&error);
if (bus_daemon == NULL)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list