[telepathy-gabble/telepathy-gabble-0.8] tube-dbus.c: assert that resource part of our own JID is not NULL

Dafydd Harries dafydd.harries at collabora.co.uk
Tue Aug 25 11:12:55 PDT 2009


---
 src/tube-dbus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index 646438a..e8e3054 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -922,6 +922,7 @@ gabble_tube_dbus_constructor (GType type,
       g_assert (gabble_decode_jid (
           tp_handle_inspect (contact_repo, priv->self_handle),
           NULL, NULL, &nick));
+      g_assert (nick != NULL);
 
       priv->dbus_local_name = _gabble_generate_dbus_unique_name (nick);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list