changeset 2113:44c4b850263a

Cosmetics
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 May 2014 17:26:47 +0200
parents 332818e5daa1
children f13f709400fa
files mcabber/mcabber/xmpp.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c	Sun May 11 17:19:34 2014 +0200
+++ b/mcabber/mcabber/xmpp.c	Sun May 11 17:26:47 2014 +0200
@@ -1291,7 +1291,8 @@
       if (res) *res++ = 0;
       scr_WriteIncomingMessage(bjid, body, timestamp, HBB_PREFIX_IN, 0);
 
-      scr_LogPrint(LPRINT_DEBUG, "carbon from:%s", lm_message_node_get_attribute(x, "from"));
+      scr_LogPrint(LPRINT_DEBUG, "carbon from:%s",
+                   lm_message_node_get_attribute(x, "from"));
 
     } else if (!g_strcmp0(x->name, "sent")) {
       x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0");
@@ -1302,7 +1303,7 @@
       bjid = g_strdup(to);
       res = strchr(bjid, JID_RESOURCE_SEPARATOR);
       if (res) *res++ = 0;
- 
+
       scr_write_outgoing_message(bjid, body, 0, NULL);
     }
   }
@@ -1330,7 +1331,8 @@
 
   { // xep184 receipt confirmation
     LmMessageNode *received = lm_message_node_get_child(m->node, "received");
-    if (received && !g_strcmp0(lm_message_node_get_attribute(received, "xmlns"), NS_RECEIPTS)) {
+    if (received && !g_strcmp0(lm_message_node_get_attribute(received, "xmlns"),
+                               NS_RECEIPTS)) {
       char       *jid = jidtodisp(from);
       const char *id  = lm_message_node_get_attribute(received, "id");
       // This is for backward compatibility; if the remote client didn't add