[gupnp/wip/phako/cleanup: 10/10] all: Fix code formatting




commit 7b48016c826ec97c87025c9325c010aece530eee
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 5 20:08:32 2021 +0200

    all: Fix code formatting

 libgupnp/gupnp-resource-factory.c |  2 +-
 libgupnp/gupnp-service.c          | 42 +++++++++++++++++++--------------------
 2 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/libgupnp/gupnp-resource-factory.c b/libgupnp/gupnp-resource-factory.c
index 306bc03..0cbc7e5 100644
--- a/libgupnp/gupnp-resource-factory.c
+++ b/libgupnp/gupnp-resource-factory.c
@@ -67,7 +67,7 @@ gupnp_resource_factory_init (GUPnPResourceFactory *factory)
                                                        NULL);
 }
 
-    static void
+static void
 gupnp_resource_factory_finalize (GObject *object)
 {
     GUPnPResourceFactory *self;
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index bacf977..5c7ca06 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -1993,27 +1993,27 @@ notify_got_response (G_GNUC_UNUSED SoupSession *session,
 }
 
 /* Send notification @user_data to subscriber @value */
-    static void
-    notify_subscriber (G_GNUC_UNUSED gpointer key,
-                       gpointer               value,
-                       gpointer               user_data)
-    {
-            SubscriptionData *data;
-            const char *property_set;
-            char *tmp;
-            SoupMessage *msg;
-            SoupSession *session;
-
-            data = value;
-            property_set = user_data;
-
-            /* Subscriber called unsubscribe */
-            if (subscription_data_can_delete (data))
-                    return;
-
-            /* Create message */
-            msg = soup_message_new_from_uri (GENA_METHOD_NOTIFY,
-                                             data->callbacks->data);
+static void
+notify_subscriber (G_GNUC_UNUSED gpointer key,
+                   gpointer value,
+                   gpointer user_data)
+{
+        SubscriptionData *data;
+        const char *property_set;
+        char *tmp;
+        SoupMessage *msg;
+        SoupSession *session;
+
+        data = value;
+        property_set = user_data;
+
+        /* Subscriber called unsubscribe */
+        if (subscription_data_can_delete (data))
+                return;
+
+        /* Create message */
+        msg = soup_message_new_from_uri (GENA_METHOD_NOTIFY,
+                                         data->callbacks->data);
 
         soup_message_headers_append (msg->request_headers,
                                      "NT",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]