telepathy-logger: Coding style fix

Nicolas Dufresne nicolasd at kemper.freedesktop.org
Mon Apr 8 10:59:59 PDT 2013


Module: telepathy-logger
Branch: master
Commit: ac2bac05cfbdd7250a5dedfc873d64feedf58db6
URL:    http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=ac2bac05cfbdd7250a5dedfc873d64feedf58db6

Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
Date:   Mon Apr  8 13:59:11 2013 -0400

Coding style fix

---

 telepathy-logger/conf.c        |    2 +-
 telepathy-logger/log-manager.c |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/telepathy-logger/conf.c b/telepathy-logger/conf.c
index 768ece3..f814b0b 100644
--- a/telepathy-logger/conf.c
+++ b/telepathy-logger/conf.c
@@ -292,7 +292,7 @@ _tpl_conf_set_ignorelist (TplConf *self,
  * Return value: (transfer-full) a newly allocated NULL-terminated list of contact IDs.
  * The list is owned by the @self and should not be freed.
  */
-const gchar**
+const gchar **
 _tpl_conf_get_ignorelist (TplConf *self)
 {
   TplConfPriv *priv;
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index 9fb3f6e..4fc0770 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -1523,12 +1523,12 @@ tpl_log_manager_disable_for_entity (TplLogManager *self,
             gint newlen;
             newlist = g_strdupv ((gchar **) ignorelist);
             newlen = g_strv_length (newlist) + 1;
-            newlist = g_realloc (newlist, sizeof (gchar*) * newlen );
+            newlist = g_realloc (newlist, sizeof (gchar *) * newlen );
             newlist[newlen - 1] = g_strdup (identifier);
           }
         else
           {
-            newlist = g_malloc0_n (2, sizeof (gchar*));
+            newlist = g_malloc0_n (2, sizeof (gchar *));
             newlist[0] = g_strdup (identifier);
           }
 
@@ -1571,7 +1571,8 @@ tpl_log_manager_enable_for_entity (TplLogManager *self,
         if (!ignorelist)
             return;
 
-        newlist = g_malloc0_n (g_strv_length ((gchar **) ignorelist) - 1, sizeof (gchar*));
+        newlist = g_malloc0_n (g_strv_length ((gchar **) ignorelist) - 1,
+            sizeof (gchar *));
         j = 0;
         for (i = 0; ignorelist && ignorelist[i]; i++)
           {



More information about the telepathy-commits mailing list