[telepathy-gabble/telepathy-gabble-0.8] style tweaks

Dafydd Harries dafydd.harries at collabora.co.uk
Tue Aug 25 08:27:59 PDT 2009


---
 src/bytestream-factory.c |   14 +++++++-------
 src/tube-dbus.c          |    3 +--
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 60dbc5f..84a85a9 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -966,14 +966,14 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
 
   if (room_handle == 0)
     {
-     /* jid is not a muc jid so we need contact's resource */
-     gabble_decode_jid (from, NULL, NULL, &peer_resource);
+      /* jid is not a muc jid so we need contact's resource */
+      gabble_decode_jid (from, NULL, NULL, &peer_resource);
 
-     peer_handle = tp_handle_ensure (contact_repo, from, NULL, NULL);
+      peer_handle = tp_handle_ensure (contact_repo, from, NULL, NULL);
 
-     /* we are not in a muc so our own jid is the one in the 'to' attribute */
-     self_jid = g_strdup (lm_message_node_get_attribute (msg->node,
-           "to"));
+      /* we are not in a muc so our own jid is the one in the 'to' attribute */
+      self_jid = g_strdup (lm_message_node_get_attribute (msg->node,
+            "to"));
     }
   else
     {
@@ -988,7 +988,7 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
 
       if (muc == NULL)
         {
-          DEBUG ("Got an IQ from a muc in which we are not. Ignoring");
+          DEBUG ("Got an IQ from a muc in which we are not. Ignoring.");
           goto out;
         }
 
diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index c14fa49..9e0cce3 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -908,8 +908,7 @@ gabble_tube_dbus_constructor (GType type,
   g_assert (priv->self_handle != 0);
   if (priv->handle_type == TP_HANDLE_TYPE_ROOM)
     {
-      /*
-       * We have to create a pseudo-IBB bytestream that will be
+      /* We have to create a pseudo-IBB bytestream that will be
        * used by this MUC tube to communicate.
        */
       GabbleBytestreamMuc *bytestream;
-- 
1.5.6.5




More information about the telepathy-commits mailing list