summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/idle-connection.c9
-rw-r--r--src/server-tls-channel.c4
2 files changed, 10 insertions, 3 deletions
diff --git a/src/idle-connection.c b/src/idle-connection.c
index c31a00a..24b93c2 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -547,7 +547,8 @@ static GPtrArray *_iface_create_channel_managers(TpBaseConnection *base) {
g_ptr_array_add(managers, manager);
priv->tls_manager = g_object_new (IDLE_TYPE_SERVER_TLS_MANAGER,
- "connection", self, NULL);
+ "connection", self,
+ NULL);
g_ptr_array_add(managers, priv->tls_manager);
return managers;
@@ -761,7 +762,11 @@ static void _start_connecting_continue(IdleConnection *conn) {
priv->username = g_strdup(g_get_user_name());
}
- sconn = g_object_new(IDLE_TYPE_SERVER_CONNECTION, "host", priv->server, "port", priv->port, "tls-manager", priv->tls_manager, NULL);
+ sconn = g_object_new(IDLE_TYPE_SERVER_CONNECTION,
+ "host", priv->server,
+ "port", priv->port,
+ "tls-manager", priv->tls_manager,
+ NULL);
if (priv->use_ssl)
idle_server_connection_set_tls(sconn, TRUE);
diff --git a/src/server-tls-channel.c b/src/server-tls-channel.c
index 85fb845..aa2ef62 100644
--- a/src/server-tls-channel.c
+++ b/src/server-tls-channel.c
@@ -174,7 +174,9 @@ idle_server_tls_channel_constructed (GObject *object)
GByteArray *content;
GArray *c;
- g_object_get (cert, "certificate", &content, NULL);
+ g_object_get (cert,
+ "certificate", &content,
+ NULL);
c = g_array_sized_new (TRUE, TRUE, sizeof (guchar), content->len);
g_array_append_vals (c, content->data, content->len);
g_ptr_array_add (certificates, c);