summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2021-06-05 20:08:32 +0200
committerJens Georg <mail@jensge.org>2021-06-09 23:55:54 +0200
commit1975b3295de1d4e97465e6827d518a868163b891 (patch)
tree95a87ae7b5117a8a5e22a58509d070cdb3f10cf3
parent001fc4d558b72a5f1768aa679291ce05f6d1e526 (diff)
downloadgupnp-1975b3295de1d4e97465e6827d518a868163b891.tar.gz
all: Fix code formatting
-rw-r--r--libgupnp/gupnp-resource-factory.c2
-rw-r--r--libgupnp/gupnp-service.c42
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",