[gssdp] client: Minor style fixes



commit 87ea7ba1d7a2d87be6798065294f4ba3f9366a4c
Author: Jens Georg <mail jensge org>
Date:   Tue Oct 30 13:00:59 2018 +0100

    client: Minor style fixes

 libgssdp/gssdp-client.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index bf7949a..b89024b 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1229,7 +1229,8 @@ socket_source_cb (GSSDPSocketSource *socket_source, GSSDPClient *client)
                 /* update client cache */
                 agent = soup_message_headers_get_one (headers, "Server");
                 if (!agent)
-                        agent = soup_message_headers_get_one (headers, "User-Agent");
+                        agent = soup_message_headers_get_one (headers,
+                                                              "User-Agent");
 
                 if (agent)
                         gssdp_client_add_cache_entry (client,
@@ -1341,15 +1342,17 @@ init_network_info (GSSDPClient *client, GError **error)
 
                 ret = FALSE;
         } else if (priv->device.host_ip == NULL) {
-                        g_set_error (error,
-                                     GSSDP_ERROR,
-                                     GSSDP_ERROR_NO_IP_ADDRESS,
-                                     "Failed to find IP of interface %s",
-                                     priv->device.iface_name);
+                g_set_error (error,
+                             GSSDP_ERROR,
+                             GSSDP_ERROR_NO_IP_ADDRESS,
+                             "Failed to find IP of interface %s",
+                             priv->device.iface_name);
 
                 ret = FALSE;
         }
 
+
+
         return ret;
 }
 


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