[gupnp] all: Fix code formatting
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] all: Fix code formatting
- Date: Wed, 9 Jun 2021 21:59:16 +0000 (UTC)
commit 1975b3295de1d4e97465e6827d518a868163b891
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 f11de03..4c1394a 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]