[gnome-online-accounts/wip/rishi/gtask: 8/8] httpclient: Style fixes
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/gtask: 8/8] httpclient: Style fixes
- Date: Tue, 27 Nov 2018 16:04:46 +0000 (UTC)
commit 5b9393845b38c12162c0197b6cf1324fb3d79a3f
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 27 16:15:11 2018 +0100
httpclient: Style fixes
src/goabackend/goahttpclient.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/goabackend/goahttpclient.c b/src/goabackend/goahttpclient.c
index 06cab1d0..ad00c9e1 100644
--- a/src/goabackend/goahttpclient.c
+++ b/src/goabackend/goahttpclient.c
@@ -141,7 +141,7 @@ http_client_check_cancelled_cb (GCancellable *cancellable, gpointer user_data)
CheckData *data;
GTask *task = G_TASK (user_data);
- data = g_task_get_task_data (task);
+ data = (CheckData *) g_task_get_task_data (task);
/* The callback will be invoked after we have returned to the main
* loop.
@@ -217,8 +217,7 @@ goa_http_client_check (GoaHttpClient *self,
data = g_slice_new0 (CheckData);
g_task_set_task_data (task, data, http_client_check_data_free);
- data->session = soup_session_new_with_options (SOUP_SESSION_SSL_STRICT, FALSE,
- NULL);
+ data->session = soup_session_new_with_options (SOUP_SESSION_SSL_STRICT, FALSE, NULL);
logger = goa_soup_logger_new (SOUP_LOGGER_LOG_BODY, -1);
soup_session_add_feature (data->session, SOUP_SESSION_FEATURE (logger));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]