[Telepathy-commits] [telepathy-salut/master] Rephrase a debug output. Add a SALUT_CONTACT cast

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 7 03:51:55 PST 2008


---
 src/salut-xmpp-connection-manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/salut-xmpp-connection-manager.c b/src/salut-xmpp-connection-manager.c
index c90f08f..3bc15f0 100644
--- a/src/salut-xmpp-connection-manager.c
+++ b/src/salut-xmpp-connection-manager.c
@@ -742,13 +742,13 @@ incoming_pending_connection_stream_opened_cb (GibberXmppConnection *conn,
     {
       GList *l;
 
-      DEBUG ("Incoming connection from a machine with more than one "
-          "contact (%d). Can't assume its identity. Possible contacts are:",
+      DEBUG ("Incoming connection from a machine with %d contacts. "
+          "Can't assume its identity. Possible contacts are:",
           contacts_len);
 
       for (l = contacts; l != NULL; l = g_list_next (l))
         {
-          SalutContact *contact = l->data;
+          SalutContact *contact = SALUT_CONTACT (l->data);
 
           DEBUG ("--> %s\n", contact->name);
         }
-- 
1.5.6.5



More information about the Telepathy-commits mailing list